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

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

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: 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
Index: chromecast/renderer/media/audio_pipeline_proxy.cc
diff --git a/chromecast/renderer/media/audio_pipeline_proxy.cc b/chromecast/renderer/media/audio_pipeline_proxy.cc
index 0193232d6f2e852e17ce7cbf8a448e5ea9ffffc5..4082621e311393da7c766dc26f19dad284ead27d 100644
--- a/chromecast/renderer/media/audio_pipeline_proxy.cc
+++ b/chromecast/renderer/media/audio_pipeline_proxy.cc
@@ -54,7 +54,7 @@ class AudioPipelineProxyInternal {
// but this is an internal class and there is no reason to derive from
// AudioPipeline.
void SetClient(const base::Closure& pipe_read_cb,
- const AvPipelineClient& client);
+ const RendererAvPipelineClient& client);
void CreateAvPipe(const SharedMemCB& shared_mem_cb);
void Initialize(const ::media::AudioDecoderConfig& config,
const ::media::PipelineStatusCB& status_cb);
@@ -120,7 +120,7 @@ void AudioPipelineProxyInternal::NotifyPipeWrite() {
void AudioPipelineProxyInternal::SetClient(
const base::Closure& pipe_read_cb,
- const AvPipelineClient& client) {
+ const RendererAvPipelineClient& client) {
DCHECK(thread_checker_.CalledOnValidThread());
CmaMessageFilterProxy::AudioDelegate delegate;
@@ -221,8 +221,7 @@ AudioPipelineProxy::~AudioPipelineProxy() {
base::Bind(&AudioPipelineProxyInternal::Release, base::Passed(&proxy_)));
}
-void AudioPipelineProxy::SetClient(
- const AvPipelineClient& client) {
+void AudioPipelineProxy::SetClient(const RendererAvPipelineClient& client) {
DCHECK(thread_checker_.CalledOnValidThread());
base::Closure pipe_read_cb = ::media::BindToCurrentLoop(
base::Bind(&AudioPipelineProxy::OnPipeRead, weak_this_));
@@ -306,4 +305,4 @@ void AudioPipelineProxy::OnPipeRead() {
}
} // namespace cma
-} // namespace chromecast
+} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698