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

Unified Diff: media/filters/audio_renderer_impl.cc

Issue 10837032: Fix playback rate w/o audio. Remove unused SetPlaybackRate(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « media/base/audio_renderer_sink.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/audio_renderer_impl.cc
diff --git a/media/filters/audio_renderer_impl.cc b/media/filters/audio_renderer_impl.cc
index 70363d5022517e5e4bcc511aa673d72a69aab3f2..af376a42babf1ed0a56dfd4857cbc193692832dd 100644
--- a/media/filters/audio_renderer_impl.cc
+++ b/media/filters/audio_renderer_impl.cc
@@ -306,9 +306,6 @@ void AudioRendererImpl::SetPlaybackRate(float playback_rate) {
DCHECK_LE(0.0f, playback_rate);
if (!stopped_) {
- // Notify sink of new playback rate.
- sink_->SetPlaybackRate(playback_rate);
-
// We have two cases here:
// Play: GetPlaybackRate() == 0.0 && playback_rate != 0.0
// Pause: GetPlaybackRate() != 0.0 && playback_rate == 0.0
« no previous file with comments | « media/base/audio_renderer_sink.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698