From a9a177ff820a8d1f3645c89d7e2f4c682b4f3efe Mon Sep 17 00:00:00 2001 From: Mikel Astiz Date: Tue, 8 Jan 2013 10:41:04 +0100 Subject: [PATCH] media: Add HFP/HSP gains to transport API Add two independent and HSP/HFP-specific properties to the media transport representing the input and output audio volumes. --- doc/media-api.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/media-api.txt b/doc/media-api.txt index e2a72dc82..cdde6ea84 100644 --- a/doc/media-api.txt +++ b/doc/media-api.txt @@ -393,4 +393,26 @@ Properties object Device [readonly] this property is only writeable when the transport was acquired by the sender. + Note: the property will not be present for HSP/HFP + transports and MicrophoneGain/SpeakerGain should be + used instead. + Possible Values: 0-127 + + byte MicrophoneGain [readwrite] + + Optional. Indicates volume level of the transport's + incoming audio stream for HSP/HFP transports. This + property is only writeable when the transport was + acquired by the sender. + + Possible Values: 0-15 + + byte SpeakerGain [readwrite] + + Optional. Indicates volume level of the transport's + outgoing audio stream for HSP/HFP transports. This + property is only writeable when the transport was + acquired by the sender. + + Possible Values: 0-15 -- 2.47.3