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

Unified Diff: chromecast/media/cma/backend/alsa/audio_decoder_alsa.cc

Issue 2722673004: Revert of [Chromecast] Process streams with different post-processing. (Closed)
Patch Set: Created 3 years, 10 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
Index: chromecast/media/cma/backend/alsa/audio_decoder_alsa.cc
diff --git a/chromecast/media/cma/backend/alsa/audio_decoder_alsa.cc b/chromecast/media/cma/backend/alsa/audio_decoder_alsa.cc
index d910d3ca8179a8340dbb6482989f30bff31de1e1..a83d6a45a13caf64f0f5db535da7c40304d055c0 100644
--- a/chromecast/media/cma/backend/alsa/audio_decoder_alsa.cc
+++ b/chromecast/media/cma/backend/alsa/audio_decoder_alsa.cc
@@ -108,9 +108,8 @@
TRACE_FUNCTION_ENTRY0();
current_pts_ = start_pts;
DCHECK(IsValidConfig(config_));
- mixer_input_.reset(new StreamMixerAlsaInput(this, config_.samples_per_second,
- backend_->Primary(),
- backend_->DeviceId()));
+ mixer_input_.reset(new StreamMixerAlsaInput(
+ this, config_.samples_per_second, backend_->Primary()));
mixer_input_->SetVolumeMultiplier(volume_multiplier_);
// Create decoder_ if necessary. This can happen if Stop() was called, and
// SetConfig() was not called since then.
@@ -230,9 +229,8 @@
// Destroy the old input first to ensure that the mixer output sample rate
// is updated.
mixer_input_.reset();
- mixer_input_.reset(new StreamMixerAlsaInput(this, config.samples_per_second,
- backend_->Primary(),
- backend_->DeviceId()));
+ mixer_input_.reset(new StreamMixerAlsaInput(
+ this, config.samples_per_second, backend_->Primary()));
mixer_input_->SetVolumeMultiplier(volume_multiplier_);
pending_output_frames_ = kNoPendingOutput;
}
« no previous file with comments | « chromecast/media/cma/backend/alsa/BUILD.gn ('k') | chromecast/media/cma/backend/alsa/audio_filter_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698