Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtPipeWire::QAudioContextManager Class Reference

#include <qpipewire_audiocontextmanager_p.h>

Collaboration diagram for QtPipeWire::QAudioContextManager:

Public Member Functions

 QAudioContextManager ()
 ~QAudioContextManager ()
bool isConnected () const
PwNodeHandle bindNode (ObjectId)
PwMetadataHandle bindMetadata (ObjectId)
void syncRegistry ()
void registerStreamReference (std::shared_ptr< QPipewireAudioStream >)
void unregisterStreamReference (const std::shared_ptr< QPipewireAudioStream > &)
const PwCoreConnectionHandlecoreConnection () const

Static Public Member Functions

static bool minimumRequirementMet ()
static QAudioContextManagerinstance ()
template<typename Closure>
static auto withEventLoopLock (Closure &&c)
static QAudioDeviceMonitordeviceMonitor ()
static bool isInPwThreadLoop ()
static pw_loop * getEventLoop ()

Detailed Description

Definition at line 33 of file qpipewire_audiocontextmanager_p.h.

Constructor & Destructor Documentation

◆ QAudioContextManager()

QtPipeWire::QAudioContextManager::QAudioContextManager ( )

Definition at line 39 of file qpipewire_audiocontextmanager.cpp.

◆ ~QAudioContextManager()

QtPipeWire::QAudioContextManager::~QAudioContextManager ( )

Definition at line 62 of file qpipewire_audiocontextmanager.cpp.

Member Function Documentation

◆ bindMetadata()

PwMetadataHandle QtPipeWire::QAudioContextManager::bindMetadata ( ObjectId id)

Definition at line 115 of file qpipewire_audiocontextmanager.cpp.

◆ bindNode()

PwNodeHandle QtPipeWire::QAudioContextManager::bindNode ( ObjectId id)

Definition at line 106 of file qpipewire_audiocontextmanager.cpp.

◆ coreConnection()

const PwCoreConnectionHandle & QtPipeWire::QAudioContextManager::coreConnection ( ) const

Definition at line 153 of file qpipewire_audiocontextmanager.cpp.

◆ deviceMonitor()

QAudioDeviceMonitor & QtPipeWire::QAudioContextManager::deviceMonitor ( )
static

Definition at line 91 of file qpipewire_audiocontextmanager.cpp.

Referenced by QtPipeWire::QAudioDevices::QAudioDevices(), QtPipeWire::QPipewireAudioStream::registerDeviceObserver(), and QtPipeWire::QPipewireAudioStream::unregisterDeviceObserver().

Here is the caller graph for this function:

◆ getEventLoop()

pw_loop * QtPipeWire::QAudioContextManager::getEventLoop ( )
static

Definition at line 101 of file qpipewire_audiocontextmanager.cpp.

◆ instance()

QAudioContextManager * QtPipeWire::QAudioContextManager::instance ( )
static

Definition at line 81 of file qpipewire_audiocontextmanager.cpp.

Referenced by QtPipeWire::QAudioDeviceMonitor::getDeviceLists(), QtPipeWire::QAudioDevices::isSupported(), QtPipeWire::QPipewireAudioSinkStream::start(), QtPipeWire::QPipewireAudioSinkStream::start(), QtPipeWire::QPipewireAudioSourceStream::start(), and withEventLoopLock().

Here is the caller graph for this function:

◆ isConnected()

bool QtPipeWire::QAudioContextManager::isConnected ( ) const

Definition at line 86 of file qpipewire_audiocontextmanager.cpp.

Referenced by QtPipeWire::QAudioDevices::isSupported().

Here is the caller graph for this function:

◆ isInPwThreadLoop()

bool QtPipeWire::QAudioContextManager::isInPwThreadLoop ( )
static

Definition at line 96 of file qpipewire_audiocontextmanager.cpp.

Referenced by QtPipeWire::QAudioDeviceMonitor::objectAdded(), and QtPipeWire::QAudioDeviceMonitor::objectRemoved().

Here is the caller graph for this function:

◆ minimumRequirementMet()

bool QtPipeWire::QAudioContextManager::minimumRequirementMet ( )
static

Definition at line 76 of file qpipewire_audiocontextmanager.cpp.

Referenced by QtPipeWire::QAudioDevices::isSupported().

Here is the caller graph for this function:

◆ registerStreamReference()

void QtPipeWire::QAudioContextManager::registerStreamReference ( std::shared_ptr< QPipewireAudioStream > stream)

Definition at line 140 of file qpipewire_audiocontextmanager.cpp.

Referenced by QtPipeWire::QPipewireAudioSinkStream::start(), QtPipeWire::QPipewireAudioSinkStream::start(), and QtPipeWire::QPipewireAudioSourceStream::start().

Here is the caller graph for this function:

◆ syncRegistry()

void QtPipeWire::QAudioContextManager::syncRegistry ( )

Definition at line 124 of file qpipewire_audiocontextmanager.cpp.

Referenced by QtPipeWire::QAudioDeviceMonitor::getDeviceLists().

Here is the caller graph for this function:

◆ unregisterStreamReference()

void QtPipeWire::QAudioContextManager::unregisterStreamReference ( const std::shared_ptr< QPipewireAudioStream > & stream)

Definition at line 146 of file qpipewire_audiocontextmanager.cpp.

◆ withEventLoopLock()

template<typename Closure>
auto QtPipeWire::QAudioContextManager::withEventLoopLock ( Closure && c)
inlinestatic

Definition at line 45 of file qpipewire_audiocontextmanager_p.h.

References instance().

Here is the call graph for this function:

The documentation for this class was generated from the following files: