Chromium Code Reviews
Descriptionalsa_output: Drain and pause pcm when stopping.
Call snd_pcm_drain when the output's Stop() function is called. This
will keep some alsa interfaces from repeating the last samples played
until Close() is called. This will also guarantee that all samples are
played back if Close() is called immediately following Stop().
BUG=chromium-os:31211
TEST=Manual, play and pause youtube, both FLASH and HTML5 videos using
the following alsa plugins as a sink for alsa_output: plug, hw, dmix,
pulse, cras, jack. Observe that pauses are clean without repeated
samples.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=138939
Patch Set 1 #Patch Set 2 : #
Total comments: 1
Patch Set 3 : whitespace only. #
Messages
Total messages: 6 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||