Chromium Code Reviews| 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..97f03568830492f95308639711d10e8d920f0afe 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, |
| + std::string name, |
|
wzhong
2017/02/21 16:03:46
ditto.
bshaya
2017/02/21 23:30:14
Done.
|
| 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_; |