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

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

Issue 2701613006: [Chromecast] Process streams with different post-processing. (Closed)
Patch Set: Fix nits 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 b3a97df6bb6a7855ec5aa62e92d38c7faa99ced8..7034f8df9f1036ef8f5b3258fdddb4fd33803e70 100644
--- a/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.cc
+++ b/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.cc
@@ -14,9 +14,10 @@ namespace media {
StreamMixerAlsaInput::StreamMixerAlsaInput(Delegate* delegate,
int samples_per_second,
- bool primary) {
+ bool primary,
+ std::string name) {
std::unique_ptr<StreamMixerAlsaInputImpl> impl(new StreamMixerAlsaInputImpl(
- delegate, samples_per_second, primary, StreamMixerAlsa::Get()));
+ delegate, samples_per_second, primary, name, 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