DescriptionFix audio glitching on Vista due to unreliable OS callbacks.
This reverts part of the fix I made for Windows 10 audio, since it
inadvertently broke Vista audio. Vista will frequently underflow
and ask for more than one buffer at a time. :(
While back-to-back reads _may_ lead to glitches with single buffer
clients like WebRTC and WebAudio, not allowing them _definitely_
leads to glitches for all clients (even <audio> which double buffers on
the browser side).
Further, API documentation does not guarantee we won't be asked for
more than one buffer regardless of the period size. In practice, outside
of Vista this does not seem to happen though.
TEST=vista audio glitch free, windows 10 audio glitch free.
BUG=524947
Committed: https://crrev.com/cae8b7ed33dcace93561a1e0bb8126cc020001cd
Cr-Commit-Position: refs/heads/master@{#347135}
Patch Set 1 : Rebase. Typo. #
Total comments: 2
Messages
Total messages: 16 (4 generated)
|