OLD | NEW |
---|---|
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 | 10 |
11 config("audio_conference_mixer_config") { | 11 rtc_static_library("audio_mixer_impl") { |
12 include_dirs = [ "../../modules/include" ] | 12 visibility = [ |
13 } | 13 "../../audio:audio", |
14 | 14 "../../modules/*", |
15 rtc_static_library("audio_mixer") { | 15 ] |
16 sources = [ | 16 sources = [ |
17 "audio_frame_manipulator.cc", | |
18 "audio_frame_manipulator.h", | |
19 "audio_mixer.h", | |
20 "audio_mixer_impl.cc", | 17 "audio_mixer_impl.cc", |
21 "audio_mixer_impl.h", | 18 "audio_mixer_impl.h", |
22 "audio_source_with_mix_status.cc", | 19 "audio_source_with_mix_status.cc", |
23 "audio_source_with_mix_status.h", | 20 "audio_source_with_mix_status.h", |
24 ] | 21 ] |
25 | 22 |
26 public = [ | 23 public = [ |
27 "audio_mixer.h", | 24 "audio_mixer_impl.h", |
28 ] | 25 ] |
29 | 26 |
30 public_configs = [ ":audio_conference_mixer_config" ] | 27 public_deps = [ |
28 "../../api:audio_mixer_api", | |
29 ] | |
aleloi
2016/10/13 09:25:23
This way, targets that create the mixer and includ
| |
31 | 30 |
32 deps = [ | 31 deps = [ |
32 ":audio_frame_manipulator", | |
33 "../..:webrtc_common", | 33 "../..:webrtc_common", |
34 "../../base:rtc_base_approved", | 34 "../../base:rtc_base_approved", |
35 "../../modules/audio_processing", | 35 "../../modules/audio_processing", |
36 "../../modules/utility", | 36 "../../modules/utility", |
37 "../../system_wrappers", | 37 "../../system_wrappers", |
38 "../../voice_engine:level_indicator", | |
39 ] | 38 ] |
40 } | 39 } |
40 | |
41 rtc_static_library("audio_frame_manipulator") { | |
42 visibility = [ | |
43 ":*", | |
44 "../../modules:modules_unittests", | |
45 ] | |
46 | |
47 sources = [ | |
48 "audio_frame_manipulator.cc", | |
49 "audio_frame_manipulator.h", | |
50 ] | |
51 | |
52 deps = [ | |
53 "../../base:rtc_base_approved", | |
54 "../../modules/utility", | |
55 ] | |
56 } | |
aleloi
2016/10/13 09:25:23
The mixer directory contains a test file called au
| |
OLD | NEW |