DescriptionFix AudioPipeReader to use default pipe buffer size.
Pulseaudio uses default pipe buffer size to calculate pipe
latency, ignoring the actual buffer size set by the reading
side. AudioPipeReader was setting buffer size that's about 2
times bigger than default. As result it reports incorrect
latency and some clients did not work properly (particularly
AudioContext API implementation in chrome). Now
AudioPipeReader will be using default buffer size determined
by the OS, which matches pulseaudio's behavior.
BUG=442455
R=lambroslambrou@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/cbcd2ec76ca61e9f9e3d529f36011346d4e673da
Patch Set 1 : #
Total comments: 4
Patch Set 2 : #
Messages
Total messages: 15 (6 generated)
|