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

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

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_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 2ff54a859e117e942261b598c6f75c491587ece7..19086b8aafd682c6ea0860b0b81b6b5361d1b077 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,7 +7,6 @@
#include <deque>
#include <memory>
-#include <string>
#include "base/callback.h"
#include "base/macros.h"
@@ -30,8 +29,6 @@
namespace chromecast {
namespace media {
-
-class FilterGroup;
// Input queue implementation for StreamMixerAlsa. Each input source pushes
// frames to an instance of StreamMixerAlsaInputImpl; this then signals the
@@ -93,7 +90,6 @@
StreamMixerAlsaInputImpl(StreamMixerAlsaInput::Delegate* delegate,
int input_samples_per_second,
bool primary,
- const std::string& device_id,
StreamMixerAlsa* mixer);
~StreamMixerAlsaInputImpl() override;
@@ -119,12 +115,9 @@
// StreamMixerAlsa::InputQueue implementation:
int input_samples_per_second() const override;
bool primary() const override;
- std::string device_id() const override;
bool IsDeleting() const override;
void Initialize(const MediaPipelineBackendAlsa::RenderingDelay&
mixer_rendering_delay) override;
- void set_filter_group(FilterGroup* filter_group) override;
- FilterGroup* filter_group() override;
int MaxReadSize() override;
void GetResampledData(::media::AudioBus* dest, int frames) override;
void OnSkipped() override;
@@ -154,9 +147,7 @@
StreamMixerAlsaInput::Delegate* const delegate_;
const int input_samples_per_second_;
const bool primary_;
- std::string device_id_;
StreamMixerAlsa* const mixer_;
- FilterGroup* filter_group_;
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