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

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: 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
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..ed76855a6607d1e9ea2017ed4e8cdd3af1a15251 100644
--- a/chromecast/renderer/media/audio_pipeline_proxy.cc
+++ b/chromecast/renderer/media/audio_pipeline_proxy.cc
@@ -118,9 +118,8 @@ void AudioPipelineProxyInternal::NotifyPipeWrite() {
VLOG_IF(4, !success) << "Sending msg failed";
}
-void AudioPipelineProxyInternal::SetClient(
- const base::Closure& pipe_read_cb,
- const AvPipelineClient& client) {
+void AudioPipelineProxyInternal::SetClient(const base::Closure& pipe_read_cb,
+ const AvPipelineClient& client) {
DCHECK(thread_checker_.CalledOnValidThread());
CmaMessageFilterProxy::AudioDelegate delegate;
@@ -221,8 +220,7 @@ AudioPipelineProxy::~AudioPipelineProxy() {
base::Bind(&AudioPipelineProxyInternal::Release, base::Passed(&proxy_)));
}
-void AudioPipelineProxy::SetClient(
- const AvPipelineClient& client) {
+void AudioPipelineProxy::SetClient(const AvPipelineClient& client) {
DCHECK(thread_checker_.CalledOnValidThread());
base::Closure pipe_read_cb = ::media::BindToCurrentLoop(
base::Bind(&AudioPipelineProxy::OnPipeRead, weak_this_));
@@ -306,4 +304,4 @@ void AudioPipelineProxy::OnPipeRead() {
}
} // namespace cma
-} // namespace chromecast
+} // namespace chromecast
« no previous file with comments | « chromecast/renderer/media/audio_pipeline_proxy.h ('k') | chromecast/renderer/media/chromecast_media_renderer_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698