#include <PsTaoMicrophone.h>
|
enum | GainLevel { OFF = 0,
MIDDLE = 5,
FULL = 10
} |
|
enum | PsComponentType {
BUTTON,
DISPLAY,
GRAPHIC_DISPLAY,
HOOKSWITCH,
LAMP,
MICROPHONE,
RINGER,
SPEAKER,
EXTERNAL_SPEAKER
} |
|
|
OsStatus | setGain (int gain) |
| enumcode: OFF - The microphone is turned off enumcode: MIDDLE - The microphone gain is set to the middle of its range enumcode: FULL - The microphone gain is set to its maximum level More...
|
|
OsStatus | getGain (int &rGain) |
| param: gain - The microphone gain level retcode: OS_SUCCESS - Success retcode: OS_INVALID_ARGUMENT - invalid gain level retcode: OS_PROVIDER_UNAVAILABLE - The provider is not available More...
|
|
void | getName (UtlString &rName) |
|
int | getType (void) |
|
Enumerator |
---|
OFF |
|
MIDDLE |
|
FULL |
|
retcode: OS_SUCCESS - Success retcode: OS_PROVIDER_UNAVAILABLE - The provider is not available
OsStatus getGain |
( |
int & |
rGain | ) |
|
param: gain - The microphone gain level retcode: OS_SUCCESS - Success retcode: OS_INVALID_ARGUMENT - invalid gain level retcode: OS_PROVIDER_UNAVAILABLE - The provider is not available
OsStatus setGain |
( |
int |
gain | ) |
|
enumcode: OFF - The microphone is turned off enumcode: MIDDLE - The microphone gain is set to the middle of its range enumcode: FULL - The microphone gain is set to its maximum level