Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: media/audio/linux/alsa_output.cc

Issue 10533007: Revert 138939 - alsa_output: Drain and pause pcm when stopping. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/audio/linux/alsa_output_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/linux/alsa_output.cc
===================================================================
--- media/audio/linux/alsa_output.cc (revision 140537)
+++ media/audio/linux/alsa_output.cc (working copy)
@@ -335,9 +335,6 @@
// Reset the callback, so that it is not called anymore.
set_source_callback(NULL);
- // Finish playing samples and pause the pcm.
- wrapper_->PcmDrain(playback_handle_);
-
TransitionTo(kIsStopped);
}
« no previous file with comments | « no previous file | media/audio/linux/alsa_output_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698