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

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