W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > May 2019

[mediacapture-main] 'volume' constrainable property requires a better name. (#585)

From: Armando \(armax00\) via GitHub <sysbot+gh@w3.org>
Date: Thu, 09 May 2019 07:45:14 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-442096017-1557387913-sysbot+gh@w3.org>
armax00 has just created a new issue for https://github.com/w3c/mediacapture-main:

== 'volume' constrainable property requires a better name. ==
The 'volume' constrainable property is defined as being a multiplier applied to the linear audio samples. This means that this property does not control the volume of the audio device capture (which can be adjusted by the user and determined by the OS/HW) but rather the gain. More precisely, since the range allowed is between 0 and 1, this constrainable property controls the loss (gain between 0 and 1).

I propose that this property should be renamed from volume to either gain or loss.

Further, the description of volume in https://www.w3.org/TR/mediacapture-streams/#def-constraint-volume should be clearer in identifying it as gain/loss. 

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/585 using your GitHub account
Received on Thursday, 9 May 2019 07:45:16 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:47 UTC