diff options
author | Brad Midgley <bmidgley@xmission.com> | 2007-03-08 14:49:32 +0000 |
---|---|---|
committer | Brad Midgley <bmidgley@xmission.com> | 2007-03-08 14:49:32 +0000 |
commit | 2a093f56f87ab1ddec84f869c7941de96ee0bb0f (patch) | |
tree | 77161c8a8a227c06ccbc982ac47cfdec0fca2ec2 /audio/audio-api.txt | |
parent | 6752c3025ac9320ae2b60f5eba1f64205a7f6b78 (diff) |
flesh out headset object
Diffstat (limited to 'audio/audio-api.txt')
-rw-r--r-- | audio/audio-api.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/audio-api.txt b/audio/audio-api.txt index 436296a7..92858823 100644 --- a/audio/audio-api.txt +++ b/audio/audio-api.txt @@ -51,3 +51,23 @@ Methods string GetAddress() void Connect() void Disconnect() + + uint16 GetSpeakerGain() + + uint16 GetMicrophoneGain() + + void SetSpeakerGain(uint16 gain) + + Gain is 0..15 + + void SetMicrophoneGain(uint16 gain) + + Gain is 0..15 + +Signals void SpeakerGainChanged(uint16 gain) + + The speaker gain changed. + + void MicrophoneGainChanged(uint16 gain) + + The microphone gain changed. |