sipxmedialib  Version 3.3
Public Member Functions | Public Attributes | List of all members
MpidWinMM::MpWinInputAudioDeviceNotifier Class Reference
Inheritance diagram for MpidWinMM::MpWinInputAudioDeviceNotifier:
Inheritance graph
[legend]
Collaboration diagram for MpidWinMM::MpWinInputAudioDeviceNotifier:
Collaboration graph
[legend]

Public Member Functions

 MpWinInputAudioDeviceNotifier (const UtlString &deviceName, MpInputDeviceManager &inputManager, UtlBoolean *isOpenPtr, IMMDeviceEnumerator *deviceEnumeratorPtr)
 
ULONG _stdcall AddRef ()
 
ULONG _stdcall Release ()
 
HRESULT _stdcall QueryInterface (REFIID riid, void **ppvObject)
 
HRESULT _stdcall OnDefaultDeviceChanged (EDataFlow flow, ERole role, LPCWSTR defaultDeviceId)
 
HRESULT _stdcall OnDeviceAdded (LPCWSTR addedDeviceId)
 
HRESULT _stdcall OnDeviceRemoved (LPCWSTR removedDeviceId)
 
HRESULT _stdcall OnDeviceStateChanged (LPCWSTR deviceId, DWORD newState)
 
HRESULT _stdcall OnPropertyValueChanged (LPCWSTR deviceId, const PROPERTYKEY key)
 

Public Attributes

UtlString mName
 
MpInputDeviceManagermpInputDeviceManager
 
UtlBoolean * mpIsOpen
 
IMMDeviceEnumerator * mDeviceEnumeratorPtr
 

Constructor & Destructor Documentation

MpWinInputAudioDeviceNotifier ( const UtlString &  deviceName,
MpInputDeviceManager inputManager,
UtlBoolean *  isOpenPtr,
IMMDeviceEnumerator *  deviceEnumeratorPtr 
)
inline

Member Function Documentation

ULONG _stdcall AddRef ( )
inline
ULONG _stdcall Release ( )
inline
HRESULT _stdcall QueryInterface ( REFIID  riid,
void **  ppvObject 
)
inline
HRESULT _stdcall OnDefaultDeviceChanged ( EDataFlow  flow,
ERole  role,
LPCWSTR  defaultDeviceId 
)
inline
HRESULT _stdcall OnDeviceAdded ( LPCWSTR  addedDeviceId)
inline
HRESULT _stdcall OnDeviceRemoved ( LPCWSTR  removedDeviceId)
inline
HRESULT _stdcall OnDeviceStateChanged ( LPCWSTR  deviceId,
DWORD  newState 
)
inline
HRESULT _stdcall OnPropertyValueChanged ( LPCWSTR  deviceId,
const PROPERTYKEY  key 
)
inline

Member Data Documentation

UtlString mName
MpInputDeviceManager* mpInputDeviceManager
UtlBoolean* mpIsOpen
IMMDeviceEnumerator* mDeviceEnumeratorPtr