summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorBrad Midgley <bmidgley@xmission.com>2007-03-08 14:49:32 +0000
committerBrad Midgley <bmidgley@xmission.com>2007-03-08 14:49:32 +0000
commit2a093f56f87ab1ddec84f869c7941de96ee0bb0f (patch)
tree77161c8a8a227c06ccbc982ac47cfdec0fca2ec2 /audio
parent6752c3025ac9320ae2b60f5eba1f64205a7f6b78 (diff)
flesh out headset object
Diffstat (limited to 'audio')
-rw-r--r--audio/audio-api.txt20
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.