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

Side by Side Diff: chromecast/media/cma/backend/alsa/BUILD.gn

Issue 2771133002: [chromcast] Still need to call StreamMixerAlsa::SetVolume, even when ALSA doesn't own the volume. (Closed)
Patch Set: [chromcast] Still need to call StreamMixerAlsa::SetVolume, even when ALSA doesn't own the volume. 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
« no previous file with comments | « no previous file | chromecast/media/cma/backend/alsa/volume_control.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 sources = [ 103 sources = [
104 "slew_volume.cc", 104 "slew_volume.cc",
105 "slew_volume.h", 105 "slew_volume.h",
106 ] 106 ]
107 deps = [ 107 deps = [
108 "//base", 108 "//base",
109 "//media", 109 "//media",
110 ] 110 ]
111 } 111 }
112 112
113 alsa_controls_volume = !enable_assistant 113 alsa_owns_volume = !enable_assistant
114 114
115 buildflag_header("alsa_features") { 115 buildflag_header("alsa_features") {
116 header = "alsa_features.h" 116 header = "alsa_features.h"
117 117
118 flags = [ 118 flags = [
119 "ALSA_MONOTONIC_RAW_TSTAMPS=$use_alsa_monotonic_raw_tstamps", 119 "ALSA_MONOTONIC_RAW_TSTAMPS=$use_alsa_monotonic_raw_tstamps",
120 "ALSA_CONTROLS_VOLUME=$alsa_controls_volume", 120 "ALSA_OWNS_VOLUME=$alsa_owns_volume",
121 ] 121 ]
122 } 122 }
123 123
124 test("cast_alsa_cma_backend_unittests") { 124 test("cast_alsa_cma_backend_unittests") {
125 sources = [ 125 sources = [
126 "stream_mixer_alsa_unittest.cc", 126 "stream_mixer_alsa_unittest.cc",
127 ] 127 ]
128 128
129 deps = [ 129 deps = [
130 ":test_support", 130 ":test_support",
(...skipping 18 matching lines...) Expand all
149 public_deps = [ 149 public_deps = [
150 ":alsa_cma_backend", 150 ":alsa_cma_backend",
151 ] 151 ]
152 152
153 deps = [ 153 deps = [
154 "//base", 154 "//base",
155 "//media", 155 "//media",
156 "//testing/gmock", 156 "//testing/gmock",
157 ] 157 ]
158 } 158 }
OLDNEW
« no previous file with comments | « no previous file | chromecast/media/cma/backend/alsa/volume_control.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698