summaryrefslogtreecommitdiffstats
path: root/chromecast/browser/media/cma_media_pipeline_client.cc
diff options
context:
space:
mode:
authortianyuwang <tianyuwang@google.com>2016-03-04 13:32:44 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-04 21:33:53 +0000
commitf2c223f01a8ba53630032eb0382e897a86bfe950 (patch)
tree61bb16e70e93eb1bbaf9cd800f56bfdaa907aa1a /chromecast/browser/media/cma_media_pipeline_client.cc
parentd4a38f731dd79b849d74f88215488a506f943464 (diff)
downloadchromium_src-f2c223f01a8ba53630032eb0382e897a86bfe950.zip
chromium_src-f2c223f01a8ba53630032eb0382e897a86bfe950.tar.gz
chromium_src-f2c223f01a8ba53630032eb0382e897a86bfe950.tar.bz2
[Chromecast] Add volume control for different audio stream types.
BUG=internal b/26163065 Review URL: https://codereview.chromium.org/1733203002 Cr-Commit-Position: refs/heads/master@{#379363}
Diffstat (limited to 'chromecast/browser/media/cma_media_pipeline_client.cc')
-rw-r--r--chromecast/browser/media/cma_media_pipeline_client.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chromecast/browser/media/cma_media_pipeline_client.cc b/chromecast/browser/media/cma_media_pipeline_client.cc
index a62e1ec..e91f513 100644
--- a/chromecast/browser/media/cma_media_pipeline_client.cc
+++ b/chromecast/browser/media/cma_media_pipeline_client.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "chromecast/browser/media/cma_media_pipeline_client.h"
+#include "chromecast/media/cma/backend/media_pipeline_backend_manager.h"
#include "chromecast/public/cast_media_shlib.h"
namespace chromecast {
@@ -17,7 +18,8 @@ CmaMediaPipelineClient::~CmaMediaPipelineClient() {}
scoped_ptr<MediaPipelineBackend>
CmaMediaPipelineClient::CreateMediaPipelineBackend(
const MediaPipelineDeviceParams& params) {
- return make_scoped_ptr(CastMediaShlib::CreateMediaPipelineBackend(params));
+ return make_scoped_ptr(
+ MediaPipelineBackendManager::CreateMediaPipelineBackend(params));
}
void CmaMediaPipelineClient::OnMediaPipelineBackendCreated() {