DescriptionRevert 141476 - Do not stop audio physical stream immediately after logical one had stopped.
Wait some time.
We are still stopping/closing the stream, as (1) it is better for battery life,
and (2) some people can hear active device even when it is playing silence.
That increased audio startup latency, especially on Windows, because we are using 3
buffers on Windows. To fix that I changed the code to use 2 buffers on presumable
good Windows boxes -- i.e. running non-Vista and having more than single core.
Changed unit tests as well.
BUG=129190
TEST=Should not be noticeable difference in behavior. Run tests on Win7 and XP myself.
Review URL: https://chromiumcodereview.appspot.com/10540034
TBR=enal@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=141505
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|