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

Unified Diff: media/base/audio_renderer_mixer_input.cc

Issue 1483433003: Second layer of mixing for audio elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: That fix Created 5 years 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_mixer.cc ('k') | media/base/audio_renderer_mixer_input_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_renderer_mixer_input.cc
diff --git a/media/base/audio_renderer_mixer_input.cc b/media/base/audio_renderer_mixer_input.cc
index 9c5c3726caa74ffbd0ad5285fbcd7eefbb1f7163..539cdf3ea50946c57f43127471a54d0f8345dada 100644
--- a/media/base/audio_renderer_mixer_input.cc
+++ b/media/base/audio_renderer_mixer_input.cc
@@ -65,7 +65,7 @@ void AudioRendererMixerInput::Stop() {
// Stop() may be called at any time, if Pause() hasn't been called we need to
// remove our mixer input before shutdown.
if (playing_) {
- mixer_->RemoveMixerInput(this);
+ mixer_->RemoveMixerInput(params_, this);
playing_ = false;
}
@@ -88,7 +88,7 @@ void AudioRendererMixerInput::Play() {
if (playing_ || !mixer_)
return;
- mixer_->AddMixerInput(this);
+ mixer_->AddMixerInput(params_, this);
playing_ = true;
}
@@ -96,7 +96,7 @@ void AudioRendererMixerInput::Pause() {
if (!playing_ || !mixer_)
return;
- mixer_->RemoveMixerInput(this);
+ mixer_->RemoveMixerInput(params_, this);
playing_ = false;
}
« no previous file with comments | « media/base/audio_renderer_mixer.cc ('k') | media/base/audio_renderer_mixer_input_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698