From 2a093f56f87ab1ddec84f869c7941de96ee0bb0f Mon Sep 17 00:00:00 2001 From: Brad Midgley Date: Thu, 8 Mar 2007 14:49:32 +0000 Subject: flesh out headset object --- audio/audio-api.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'audio') 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. -- cgit