summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.