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

Unified Diff: chromecast/renderer/media/audio_pipeline_proxy.h

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Address alokp@ comments Created 5 years, 2 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
« no previous file with comments | « chromecast/renderer/media/DEPS ('k') | chromecast/renderer/media/audio_pipeline_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/renderer/media/audio_pipeline_proxy.h
diff --git a/chromecast/renderer/media/audio_pipeline_proxy.h b/chromecast/renderer/media/audio_pipeline_proxy.h
index 7bcc6852e6a820bc67be5cb72eb8ebb7a861d75b..87e0d18180910b2b2fdbd0693080a542fd4fa05a 100644
--- a/chromecast/renderer/media/audio_pipeline_proxy.h
+++ b/chromecast/renderer/media/audio_pipeline_proxy.h
@@ -11,7 +11,6 @@
#include "base/memory/weak_ptr.h"
#include "base/threading/thread_checker.h"
#include "chromecast/common/media/cma_ipc_common.h"
-#include "chromecast/media/cma/pipeline/audio_pipeline.h"
#include "media/base/pipeline_status.h"
namespace base {
@@ -26,16 +25,16 @@ class AudioDecoderConfig;
namespace chromecast {
namespace media {
class AudioPipelineProxyInternal;
-struct AvPipelineClient;
class AvStreamerProxy;
class CodedFrameProvider;
class MediaChannelProxy;
+struct AvPipelineClient;
-class AudioPipelineProxy : public AudioPipeline {
+class AudioPipelineProxy {
public:
AudioPipelineProxy(scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
scoped_refptr<MediaChannelProxy> media_channel_proxy);
- ~AudioPipelineProxy() override;
+ ~AudioPipelineProxy();
void Initialize(
const ::media::AudioDecoderConfig& config,
@@ -45,9 +44,8 @@ class AudioPipelineProxy : public AudioPipeline {
void Flush(const base::Closure& done_cb);
void Stop();
- // AudioPipeline implementation.
- void SetClient(const AvPipelineClient& client) override;
- void SetVolume(float volume) override;
+ void SetClient(const AvPipelineClient& client);
+ void SetVolume(float volume);
private:
base::ThreadChecker thread_checker_;
@@ -75,4 +73,4 @@ class AudioPipelineProxy : public AudioPipeline {
} // namespace media
} // namespace chromecast
-#endif // CHROMECAST_RENDERER_MEDIA_AUDIO_PIPELINE_PROXY_H_
+#endif // CHROMECAST_RENDERER_MEDIA_AUDIO_PIPELINE_PROXY_H_
« no previous file with comments | « chromecast/renderer/media/DEPS ('k') | chromecast/renderer/media/audio_pipeline_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698