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

Unified Diff: chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.cc

Issue 2738873002: [Chromecast] Implement new volume control API (Closed)
Patch Set: no need for ALSA volume control Created 3 years, 9 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/media_pipeline_backend_alsa.cc
diff --git a/chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.cc b/chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.cc
index ed95959b5452f4771c33a56848b0b27bcb17088d..118d6db9984f7c559f12b827fe87956aa42d49d9 100644
--- a/chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.cc
+++ b/chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.cc
@@ -102,6 +102,10 @@ std::string MediaPipelineBackendAlsa::DeviceId() const {
return params_.device_id;
}
+AudioContentType MediaPipelineBackendAlsa::ContentType() const {
+ return params_.content_type;
+}
+
const scoped_refptr<base::SingleThreadTaskRunner>&
MediaPipelineBackendAlsa::GetTaskRunner() const {
return static_cast<TaskRunnerImpl*>(params_.task_runner)->runner();

Powered by Google App Engine
This is Rietveld 408576698