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

Unified Diff: chromecast/media/cma/backend/alsa/BUILD.gn

Issue 2771143002: Implement runtime audio post-processing pipeline. See go/cast_audio.json (Closed)
Patch Set: Fix stray keystroke 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/BUILD.gn
diff --git a/chromecast/media/cma/backend/alsa/BUILD.gn b/chromecast/media/cma/backend/alsa/BUILD.gn
index 13ddc12770e3a6cc2099e9eb565b3f61c8642ea7..d7bb5b87ba99f92417771b918f7ef10103214a63 100644
--- a/chromecast/media/cma/backend/alsa/BUILD.gn
+++ b/chromecast/media/cma/backend/alsa/BUILD.gn
@@ -42,6 +42,10 @@ source_set("alsa_cma_backend") {
"filter_group.h",
"media_pipeline_backend_alsa.cc",
"media_pipeline_backend_alsa.h",
+ "post_processing_pipeline.cc",
+ "post_processing_pipeline.h",
+ "post_processing_pipeline_parser.cc",
+ "post_processing_pipeline_parser.h",
"stream_mixer_alsa.cc",
"stream_mixer_alsa.h",
"stream_mixer_alsa_input.cc",
@@ -58,7 +62,6 @@ source_set("alsa_cma_backend") {
deps = [
":alsa_features",
- ":audio_filter_includes",
":slew_volume",
"//base",
"//chromecast/base",
@@ -70,34 +73,6 @@ source_set("alsa_cma_backend") {
"//media",
"//media:shared_memory_support",
]
-
- if (chromecast_branding != "google") {
- deps += [ ":audio_filter_null" ]
- } else {
- deps += [ "//chromecast/internal/media/cma/backend/alsa:filter" ]
- }
-}
-
-source_set("audio_filter_null") {
- sources = [
- "audio_filter_factory_default.cc",
- ]
-
- deps = [
- ":audio_filter_includes",
- ]
-}
-
-source_set("audio_filter_includes") {
- sources = [
- "audio_filter_factory.h",
- "audio_filter_interface.h",
- ]
-
- deps = [
- "//base",
- "//media",
- ]
}
source_set("slew_volume") {
@@ -152,3 +127,16 @@ source_set("test_support") {
"//testing/gmock",
]
}
+
+shared_library("libcast_governor") {
+ sources = [
+ "post_processors/governor_shlib.cc",
+ ]
+
+ deps = [
+ ":slew_volume",
+ "//base",
+ "//chromecast/base",
+ "//chromecast/public",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698