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 40 of file qpipewire_audiocontextmanager.cpp.

References QAudioContextManager().

Referenced by QAudioContextManager().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~QAudioContextManager()

QtPipeWire::QAudioContextManager::~QAudioContextManager ( )

Definition at line 63 of file qpipewire_audiocontextmanager.cpp.

References isConnected().

Here is the call graph for this function:

Member Function Documentation

◆ bindMetadata()

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

Definition at line 116 of file qpipewire_audiocontextmanager.cpp.

◆ bindNode()

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

Definition at line 107 of file qpipewire_audiocontextmanager.cpp.

◆ coreConnection()

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

Definition at line 154 of file qpipewire_audiocontextmanager.cpp.

◆ deviceMonitor()

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

Definition at line 92 of file qpipewire_audiocontextmanager.cpp.

References instance().

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEventLoop()

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

Definition at line 102 of file qpipewire_audiocontextmanager.cpp.

References instance().

Here is the call graph for this function:

◆ instance()

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

Definition at line 82 of file qpipewire_audiocontextmanager.cpp.

Referenced by deviceMonitor(), QtPipeWire::QAudioDeviceMonitor::getDeviceLists(), getEventLoop(), isInPwThreadLoop(), QtPipeWire::QAudioDevices::isSupported(), and withEventLoopLock().

Here is the caller graph for this function:

◆ isConnected()

bool QtPipeWire::QAudioContextManager::isConnected ( ) const

Definition at line 87 of file qpipewire_audiocontextmanager.cpp.

Referenced by ~QAudioContextManager(), and QtPipeWire::QAudioDevices::isSupported().

Here is the caller graph for this function:

◆ isInPwThreadLoop()

bool QtPipeWire::QAudioContextManager::isInPwThreadLoop ( )
static

Definition at line 97 of file qpipewire_audiocontextmanager.cpp.

References instance().

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ minimumRequirementMet()

bool QtPipeWire::QAudioContextManager::minimumRequirementMet ( )
static

Definition at line 77 of file qpipewire_audiocontextmanager.cpp.

References pw_check_library_version().

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ registerStreamReference()

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

Definition at line 141 of file qpipewire_audiocontextmanager.cpp.

◆ syncRegistry()

void QtPipeWire::QAudioContextManager::syncRegistry ( )

Definition at line 125 of file qpipewire_audiocontextmanager.cpp.

References QtPipeWire::make_error_code().

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unregisterStreamReference()

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

Definition at line 147 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: