Windows SDK API Reference
Loading...
Searching...
No Matches
IAudioSettingContextEvent Class Referenceabstract

Audio setting context callback event. More...

#include <setting_service_interface.h>

Public Member Functions

virtual ~IAudioSettingContextEvent ()
 
virtual void onComputerMicDeviceChanged (IList< IMicInfo * > *pNewMicList)=0
 Callback event if the SDK detects that the computer mic devices have been changed. More...
 
virtual void onComputerSpeakerDeviceChanged (IList< ISpeakerInfo * > *pNewSpeakerList)=0
 Callback event if the SDK detects that the computer speaker devices have been changed. More...
 
virtual void onDefaultMicDeviceChanged (const wchar_t *deviceId, const wchar_t *deviceName)=0
 Notify the user that a microphone device is selected. More...
 
virtual void onDefaultSpeakerDeviceChanged (const wchar_t *deviceId, const wchar_t *deviceName)=0
 Notify the user that a speaker device is selected. More...
 

Detailed Description

Audio setting context callback event.

Definition at line 899 of file setting_service_interface.h.

Constructor & Destructor Documentation

◆ ~IAudioSettingContextEvent()

virtual IAudioSettingContextEvent::~IAudioSettingContextEvent ( )
inlinevirtual

Definition at line 902 of file setting_service_interface.h.

902{}

Member Function Documentation

◆ onComputerMicDeviceChanged()

virtual void IAudioSettingContextEvent::onComputerMicDeviceChanged ( IList< IMicInfo * > *  pNewMicList)
pure virtual

Callback event if the SDK detects that the computer mic devices have been changed.

Parameters
pNewMicListThe new list of all mic devices plugged into the computer.

◆ onComputerSpeakerDeviceChanged()

virtual void IAudioSettingContextEvent::onComputerSpeakerDeviceChanged ( IList< ISpeakerInfo * > *  pNewSpeakerList)
pure virtual

Callback event if the SDK detects that the computer speaker devices have been changed.

Parameters
pNewSpeakerListThe new list of all speaker devices plugged into the computer.

◆ onDefaultMicDeviceChanged()

virtual void IAudioSettingContextEvent::onDefaultMicDeviceChanged ( const wchar_t *  deviceId,
const wchar_t *  deviceName 
)
pure virtual

Notify the user that a microphone device is selected.

Parameters
deviceIdSpecify a device to be selected.
deviceNameSpecify the device name assigned by deviceId.

◆ onDefaultSpeakerDeviceChanged()

virtual void IAudioSettingContextEvent::onDefaultSpeakerDeviceChanged ( const wchar_t *  deviceId,
const wchar_t *  deviceName 
)
pure virtual

Notify the user that a speaker device is selected.

Parameters
deviceIdSpecify a device to be selected.
deviceNameSpecify the device name assigned by deviceId.