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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chromecast_build.gni") 6 import("//build/config/chromecast_build.gni")
7 import("//chromecast/chromecast.gni") 7 import("//chromecast/chromecast.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 10
(...skipping 24 matching lines...) Expand all
35 source_set("alsa_cma_backend") { 35 source_set("alsa_cma_backend") {
36 sources = [ 36 sources = [
37 "alsa_wrapper.cc", 37 "alsa_wrapper.cc",
38 "alsa_wrapper.h", 38 "alsa_wrapper.h",
39 "audio_decoder_alsa.cc", 39 "audio_decoder_alsa.cc",
40 "audio_decoder_alsa.h", 40 "audio_decoder_alsa.h",
41 "filter_group.cc", 41 "filter_group.cc",
42 "filter_group.h", 42 "filter_group.h",
43 "media_pipeline_backend_alsa.cc", 43 "media_pipeline_backend_alsa.cc",
44 "media_pipeline_backend_alsa.h", 44 "media_pipeline_backend_alsa.h",
45 "post_processing_pipeline.cc",
46 "post_processing_pipeline.h",
47 "post_processing_pipeline_parser.cc",
48 "post_processing_pipeline_parser.h",
45 "stream_mixer_alsa.cc", 49 "stream_mixer_alsa.cc",
46 "stream_mixer_alsa.h", 50 "stream_mixer_alsa.h",
47 "stream_mixer_alsa_input.cc", 51 "stream_mixer_alsa_input.cc",
48 "stream_mixer_alsa_input.h", 52 "stream_mixer_alsa_input.h",
49 "stream_mixer_alsa_input_impl.cc", 53 "stream_mixer_alsa_input_impl.cc",
50 "stream_mixer_alsa_input_impl.h", 54 "stream_mixer_alsa_input_impl.h",
51 ] 55 ]
52 56
53 if (enable_assistant) { 57 if (enable_assistant) {
54 sources += [ "volume_control.cc" ] 58 sources += [ "volume_control.cc" ]
55 } 59 }
56 60
57 libs = [ "asound" ] 61 libs = [ "asound" ]
58 62
59 deps = [ 63 deps = [
60 ":alsa_features", 64 ":alsa_features",
61 ":audio_filter_includes",
62 ":slew_volume", 65 ":slew_volume",
63 "//base", 66 "//base",
64 "//chromecast/base", 67 "//chromecast/base",
65 "//chromecast/media/base", 68 "//chromecast/media/base",
66 "//chromecast/media/cma/backend:null", 69 "//chromecast/media/cma/backend:null",
67 "//chromecast/media/cma/base", 70 "//chromecast/media/cma/base",
68 "//chromecast/media/cma/decoder", 71 "//chromecast/media/cma/decoder",
69 "//chromecast/public/media", 72 "//chromecast/public/media",
70 "//media", 73 "//media",
71 "//media:shared_memory_support", 74 "//media:shared_memory_support",
72 ] 75 ]
73
74 if (chromecast_branding != "google") {
75 deps += [ ":audio_filter_null" ]
76 } else {
77 deps += [ "//chromecast/internal/media/cma/backend/alsa:filter" ]
78 }
79 }
80
81 source_set("audio_filter_null") {
82 sources = [
83 "audio_filter_factory_default.cc",
84 ]
85
86 deps = [
87 ":audio_filter_includes",
88 ]
89 }
90
91 source_set("audio_filter_includes") {
92 sources = [
93 "audio_filter_factory.h",
94 "audio_filter_interface.h",
95 ]
96
97 deps = [
98 "//base",
99 "//media",
100 ]
101 } 76 }
102 77
103 source_set("slew_volume") { 78 source_set("slew_volume") {
104 sources = [ 79 sources = [
105 "slew_volume.cc", 80 "slew_volume.cc",
106 "slew_volume.h", 81 "slew_volume.h",
107 ] 82 ]
108 deps = [ 83 deps = [
109 "//base", 84 "//base",
110 "//media", 85 "//media",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 public_deps = [ 120 public_deps = [
146 ":alsa_cma_backend", 121 ":alsa_cma_backend",
147 ] 122 ]
148 123
149 deps = [ 124 deps = [
150 "//base", 125 "//base",
151 "//media", 126 "//media",
152 "//testing/gmock", 127 "//testing/gmock",
153 ] 128 ]
154 } 129 }
130
131 shared_library("libcast_governor") {
132 sources = [
133 "post_processors/governor_shlib.cc",
134 ]
135
136 deps = [
137 ":slew_volume",
138 "//base",
139 "//chromecast/base",
140 "//chromecast/public",
141 ]
142 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698