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

Unified Diff: chromecast/media/cma/backend/alsa/stream_mixer_alsa_input_impl.h

Issue 2701613006: [Chromecast] Process streams with different post-processing. (Closed)
Patch Set: Fix nit 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_impl.h
diff --git a/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input_impl.h b/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input_impl.h
index 19086b8aafd682c6ea0860b0b81b6b5361d1b077..c2c015ea2de5dedcbc3e6006ca12c20dc3611cb5 100644
--- a/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input_impl.h
+++ b/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input_impl.h
@@ -7,6 +7,7 @@
#include <deque>
#include <memory>
+#include <string>
#include "base/callback.h"
#include "base/macros.h"
@@ -90,6 +91,7 @@ class StreamMixerAlsaInputImpl : public StreamMixerAlsa::InputQueue {
StreamMixerAlsaInputImpl(StreamMixerAlsaInput::Delegate* delegate,
int input_samples_per_second,
bool primary,
+ const std::string& name,
StreamMixerAlsa* mixer);
~StreamMixerAlsaInputImpl() override;
@@ -115,6 +117,7 @@ class StreamMixerAlsaInputImpl : public StreamMixerAlsa::InputQueue {
// StreamMixerAlsa::InputQueue implementation:
int input_samples_per_second() const override;
bool primary() const override;
+ std::string name() const override;
bool IsDeleting() const override;
void Initialize(const MediaPipelineBackendAlsa::RenderingDelay&
mixer_rendering_delay) override;
@@ -147,6 +150,7 @@ class StreamMixerAlsaInputImpl : public StreamMixerAlsa::InputQueue {
StreamMixerAlsaInput::Delegate* const delegate_;
const int input_samples_per_second_;
const bool primary_;
+ std::string name_;
StreamMixerAlsa* const mixer_;
const scoped_refptr<base::SingleThreadTaskRunner> mixer_task_runner_;
const scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698