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
CMMNotificationClient Class Reference
Inheritance diagram for CMMNotificationClient:
Collaboration diagram for CMMNotificationClient:

Public Member Functions

 CMMNotificationClient (QWindowsAudioDevices *windowsMediaDevices, ComPtr< IMMDeviceEnumerator > enumerator, QMap< QString, DWORD > &&deviceState)
HRESULT STDMETHODCALLTYPE OnDefaultDeviceChanged (EDataFlow flow, ERole role, LPCWSTR) override
HRESULT STDMETHODCALLTYPE OnDeviceAdded (LPCWSTR deviceID) override
HRESULT STDMETHODCALLTYPE OnDeviceRemoved (LPCWSTR deviceID) override
HRESULT STDMETHODCALLTYPE OnDeviceStateChanged (LPCWSTR deviceID, DWORD newState) override
HRESULT STDMETHODCALLTYPE OnPropertyValueChanged (LPCWSTR, const PROPERTYKEY) override
void emitAudioDevicesChanged (EDataFlow flow)
void emitAudioDevicesChanged (LPCWSTR deviceID)
 CMMNotificationClient (QWindowsAudioDevices *windowsMediaDevices, ComPtr< IMMDeviceEnumerator > enumerator, QMap< QString, DWORD > &&deviceState)
HRESULT STDMETHODCALLTYPE OnDefaultDeviceChanged (EDataFlow flow, ERole role, LPCWSTR) override
HRESULT STDMETHODCALLTYPE OnDeviceAdded (LPCWSTR deviceID) override
HRESULT STDMETHODCALLTYPE OnDeviceRemoved (LPCWSTR deviceID) override
HRESULT STDMETHODCALLTYPE OnDeviceStateChanged (LPCWSTR deviceID, DWORD newState) override
HRESULT STDMETHODCALLTYPE OnPropertyValueChanged (LPCWSTR, const PROPERTYKEY) override
void emitAudioDevicesChanged (EDataFlow flow)
void emitAudioDevicesChanged (LPCWSTR deviceID)

Private Member Functions

 ~CMMNotificationClient () override=default
 ~CMMNotificationClient () override=default

Detailed Description

Definition at line 24 of file qwindowsaudiodevices.cpp.

Constructor & Destructor Documentation

◆ CMMNotificationClient() [1/2]

CMMNotificationClient::CMMNotificationClient ( QWindowsAudioDevices * windowsMediaDevices,
ComPtr< IMMDeviceEnumerator > enumerator,
QMap< QString, DWORD > && deviceState )
inline

Definition at line 31 of file qwindowsaudiodevices.cpp.

References CMMNotificationClient().

Referenced by CMMNotificationClient().

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

◆ CMMNotificationClient() [2/2]

CMMNotificationClient::CMMNotificationClient ( QWindowsAudioDevices * windowsMediaDevices,
ComPtr< IMMDeviceEnumerator > enumerator,
QMap< QString, DWORD > && deviceState )
inline

Definition at line 31 of file qwindowsaudiodevices.cpp.

Member Function Documentation

◆ ~CMMNotificationClient() [1/2]

CMMNotificationClient::~CMMNotificationClient ( )
overrideprivatedefault

◆ ~CMMNotificationClient() [2/2]

CMMNotificationClient::~CMMNotificationClient ( )
overrideprivatedefault

◆ emitAudioDevicesChanged() [1/4]

void CMMNotificationClient::emitAudioDevicesChanged ( EDataFlow flow)
inline

Definition at line 89 of file qwindowsaudiodevices.cpp.

◆ emitAudioDevicesChanged() [2/4]

void CMMNotificationClient::emitAudioDevicesChanged ( EDataFlow flow)
inline

Definition at line 89 of file qwindowsaudiodevices.cpp.

◆ emitAudioDevicesChanged() [3/4]

void CMMNotificationClient::emitAudioDevicesChanged ( LPCWSTR deviceID)
inline

Definition at line 99 of file qwindowsaudiodevices.cpp.

◆ emitAudioDevicesChanged() [4/4]

void CMMNotificationClient::emitAudioDevicesChanged ( LPCWSTR deviceID)
inline

Definition at line 99 of file qwindowsaudiodevices.cpp.

◆ OnDefaultDeviceChanged() [1/2]

HRESULT STDMETHODCALLTYPE CMMNotificationClient::OnDefaultDeviceChanged ( EDataFlow flow,
ERole role,
LPCWSTR  )
inlineoverride

Definition at line 39 of file qwindowsaudiodevices.cpp.

◆ OnDefaultDeviceChanged() [2/2]

HRESULT STDMETHODCALLTYPE CMMNotificationClient::OnDefaultDeviceChanged ( EDataFlow flow,
ERole role,
LPCWSTR  )
inlineoverride

Definition at line 39 of file qwindowsaudiodevices.cpp.

◆ OnDeviceAdded() [1/2]

HRESULT STDMETHODCALLTYPE CMMNotificationClient::OnDeviceAdded ( LPCWSTR deviceID)
inlineoverride

Definition at line 47 of file qwindowsaudiodevices.cpp.

◆ OnDeviceAdded() [2/2]

HRESULT STDMETHODCALLTYPE CMMNotificationClient::OnDeviceAdded ( LPCWSTR deviceID)
inlineoverride

Definition at line 47 of file qwindowsaudiodevices.cpp.

◆ OnDeviceRemoved() [1/2]

HRESULT STDMETHODCALLTYPE CMMNotificationClient::OnDeviceRemoved ( LPCWSTR deviceID)
inlineoverride

Definition at line 58 of file qwindowsaudiodevices.cpp.

◆ OnDeviceRemoved() [2/2]

HRESULT STDMETHODCALLTYPE CMMNotificationClient::OnDeviceRemoved ( LPCWSTR deviceID)
inlineoverride

Definition at line 58 of file qwindowsaudiodevices.cpp.

◆ OnDeviceStateChanged() [1/2]

HRESULT STDMETHODCALLTYPE CMMNotificationClient::OnDeviceStateChanged ( LPCWSTR deviceID,
DWORD newState )
inlineoverride

Definition at line 71 of file qwindowsaudiodevices.cpp.

◆ OnDeviceStateChanged() [2/2]

HRESULT STDMETHODCALLTYPE CMMNotificationClient::OnDeviceStateChanged ( LPCWSTR deviceID,
DWORD newState )
inlineoverride

Definition at line 71 of file qwindowsaudiodevices.cpp.

◆ OnPropertyValueChanged() [1/2]

HRESULT STDMETHODCALLTYPE CMMNotificationClient::OnPropertyValueChanged ( LPCWSTR ,
const PROPERTYKEY  )
inlineoverride

Definition at line 84 of file qwindowsaudiodevices.cpp.

◆ OnPropertyValueChanged() [2/2]

HRESULT STDMETHODCALLTYPE CMMNotificationClient::OnPropertyValueChanged ( LPCWSTR ,
const PROPERTYKEY  )
inlineoverride

Definition at line 84 of file qwindowsaudiodevices.cpp.


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