Audio device testing callback events.
More...
#include <setting_service_interface.h>
Audio device testing callback events.
◆ OnMicSpkVolumnChanged()
virtual void ITestAudioDeviceHelperEvent::OnMicSpkVolumnChanged |
( |
unsigned int |
MicVolume, |
|
|
unsigned int |
SpkVolume |
|
) |
| |
|
pure virtual |
Notify the current mic or speaker volume when testing.
- Parameters
-
MicVolume | Specify the volume of the mic. |
SpkVolume | Specify the volume of the speaker. |
◆ OnNoAudioDeviceIsUseful()
virtual void ITestAudioDeviceHelperEvent::OnNoAudioDeviceIsUseful |
( |
bool |
bMicOrSpk | ) |
|
|
pure virtual |
Notify that either mic device or speaker device is not found.
- Parameters
-
bMicOrSpk | TRUE indicates no mic device. False no speaker device. |
◆ OnTestMicStatusChanged()
virtual void ITestAudioDeviceHelperEvent::OnTestMicStatusChanged |
( |
SDK_TESTMIC_STATUS |
status, |
|
|
bool & |
bHandled |
|
) |
| |
|
pure virtual |
Notify the mic status when testing.
- Parameters
-
status | The mic status. For more details, see SDK_TESTMIC_STATUS enum. |
bHandled | The SDK default logic won't handle the mic status the value is set to be TRUE. For more details, see SDK_TESTMIC_STATUS. |
The documentation for this class was generated from the following file: