AgcAudioStream assumes that GetMaxVolume() result is constant throughout the stream lifetime. |
|||
Issue descriptionMax volume is cached only once at [1]. Is it a correct assumption that the maximum volume of the stream never changes? Specifically, is it true on CrOS [2] (see cras_client_get_system_max_capture_gain)? [1] https://cs.chromium.org/chromium/src/media/audio/agc_audio_stream.h?l=165 [2] https://cs.chromium.org/chromium/src/media/audio/cras/cras_input.cc?q=GetMaxVolume&sq=package:chromium&l=313&dr=CSs
,
Mar 14 2018
dgreid@ - could you comment?
,
Mar 26 2018
The max capture gain might change if the stream switches to a different device with a different gain range. If the stream is pinned to a particular device, then the max gain will be constant.
,
Jul 31
|
|||
►
Sign in to add a comment |
|||
Comment 1 by olka@chromium.org
, Mar 14 2018