Increase FIFO size in AudioDestination |
||
Issue descriptionThe fifo size in AudioDestination.cpp (https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/audio/AudioDestination.cpp?q=fifoSize&sq=package:chromium&l=44) is currently 8192. But the UMA stats on Android for the a hardware buffer size of 8064. (There might be larger values but we can't tell because we return before recording the values if the fifo is too small). Consider increasing the size of the fifo to something larger and also move at least the recording of the hardware size before we return.
,
Jan 13 2017
As of 1/13/2017, the maximum size from UMA is 16384 frames. Depressing, but that means we have to support the buffer size of 2 * 16384 instead of throw away the destination. One way to preserve the backward compatibility is: FIFOSize = max(8192, 2 * actualHardwareBufferSize);
,
Feb 13 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by hongchan@chromium.org
, Jan 5 2017Status: Assigned (was: Available)