diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-06-16 14:34:34 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-06-16 14:34:34 +0000 |
commit | 7284382ac070c8643f59443bcdd253dd7384804b (patch) | |
tree | 47a9d4fc71d22b179f869738d89a95c7d50bad56 /audio/audio-api.txt | |
parent | a6957b9ac1e95063c71654cd7c352bc9b634754e (diff) |
Add Headset gain control methods
Diffstat (limited to 'audio/audio-api.txt')
-rw-r--r-- | audio/audio-api.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/audio-api.txt b/audio/audio-api.txt index 355f4cfe..17baedc1 100644 --- a/audio/audio-api.txt +++ b/audio/audio-api.txt @@ -134,6 +134,24 @@ Methods void Connect() Returns true if an audio connection to the headset is active. + uint16 GetSpeakerGain() + + Returns the current speaker gain if available, + otherwise returns the error NotAvailable. + + uint16 GetMicrophoneGain() + + Returns the current microphone gain if available, + otherwise returns the error NotAvailable. + + void SetSpeakerGain(uint16 gain) + + Changes the current speaker gain if possible. + + void SetMicrophoneGain(uint16 gain) + + Changes the current speaker gain if possible. + Signals void AnswerRequested() Sent when the answer button is pressed on the headset |