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

Unified Diff: chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.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/stream_mixer_alsa_input.cc
diff --git a/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.cc b/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.cc
index 52883ac21c595213ff979c58884e74a34104982e..b3a97df6bb6a7855ec5aa62e92d38c7faa99ced8 100644
--- a/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.cc
+++ b/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.cc
@@ -14,11 +14,9 @@
StreamMixerAlsaInput::StreamMixerAlsaInput(Delegate* delegate,
int samples_per_second,
- bool primary,
- const std::string& device_id) {
- std::unique_ptr<StreamMixerAlsaInputImpl> impl(
- new StreamMixerAlsaInputImpl(delegate, samples_per_second, primary,
- device_id, StreamMixerAlsa::Get()));
+ bool primary) {
+ std::unique_ptr<StreamMixerAlsaInputImpl> impl(new StreamMixerAlsaInputImpl(
+ delegate, samples_per_second, primary, StreamMixerAlsa::Get()));
impl_ = impl.get(); // Store a pointer to the impl, but the mixer owns it.
StreamMixerAlsa::Get()->AddInput(std::move(impl));
}

Powered by Google App Engine
This is Rietveld 408576698