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

Side by Side Diff: media/audio/BUILD.gn

Issue 2771093002: Use AudioUnit instead of AudioDevice properties to get channel count. (Closed)
Patch Set: Revert deletion of GetDeviceTotalChannelCount. 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 | media/audio/mac/audio_auhal_mac.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/config/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 import("//media/media_options.gni") 6 import("//media/media_options.gni")
7 7
8 # When libpulse is not directly linked, use stubs to allow for dlopening of the 8 # When libpulse is not directly linked, use stubs to allow for dlopening of the
9 # binary. 9 # binary.
10 if (!link_pulseaudio) { 10 if (!link_pulseaudio) {
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 "mac/audio_auhal_mac.cc", 155 "mac/audio_auhal_mac.cc",
156 "mac/audio_auhal_mac.h", 156 "mac/audio_auhal_mac.h",
157 "mac/audio_device_listener_mac.cc", 157 "mac/audio_device_listener_mac.cc",
158 "mac/audio_device_listener_mac.h", 158 "mac/audio_device_listener_mac.h",
159 "mac/audio_input_mac.cc", 159 "mac/audio_input_mac.cc",
160 "mac/audio_input_mac.h", 160 "mac/audio_input_mac.h",
161 "mac/audio_low_latency_input_mac.cc", 161 "mac/audio_low_latency_input_mac.cc",
162 "mac/audio_low_latency_input_mac.h", 162 "mac/audio_low_latency_input_mac.h",
163 "mac/audio_manager_mac.cc", 163 "mac/audio_manager_mac.cc",
164 "mac/audio_manager_mac.h", 164 "mac/audio_manager_mac.h",
165 "mac/scoped_audio_unit.cc",
166 "mac/scoped_audio_unit.h",
165 ] 167 ]
166 libs += [ 168 libs += [
167 "AudioToolbox.framework", 169 "AudioToolbox.framework",
168 "AudioUnit.framework", 170 "AudioUnit.framework",
169 "CoreAudio.framework", 171 "CoreAudio.framework",
170 ] 172 ]
171 } 173 }
172 174
173 if (is_win) { 175 if (is_win) {
174 sources += [ 176 sources += [
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 ] 389 ]
388 } 390 }
389 391
390 if (use_alsa) { 392 if (use_alsa) {
391 sources += [ 393 sources += [
392 "alsa/alsa_output_unittest.cc", 394 "alsa/alsa_output_unittest.cc",
393 "audio_low_latency_input_output_unittest.cc", 395 "audio_low_latency_input_output_unittest.cc",
394 ] 396 ]
395 } 397 }
396 } 398 }
OLDNEW
« no previous file with comments | « no previous file | media/audio/mac/audio_auhal_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698