1# Copyright (c) 2018 The WebRTC project authors. All Rights Reserved. 2# 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 5# tree. An additional intellectual property rights grant can be found 6# in the file PATENTS. All contributing project authors may 7# be found in the AUTHORS file in the root of the source tree. 8 9import("../../webrtc.gni") 10 11rtc_library("audio_frame_api") { 12 visibility = [ "*" ] 13 sources = [ 14 "audio_frame.cc", 15 "audio_frame.h", 16 "channel_layout.cc", 17 "channel_layout.h", 18 ] 19 20 deps = [ 21 "..:rtp_packet_info", 22 "../../rtc_base:checks", 23 "../../rtc_base:logging", 24 "../../rtc_base:macromagic", 25 "../../rtc_base:timeutils", 26 ] 27} 28 29rtc_source_set("audio_frame_processor") { 30 visibility = [ "*" ] 31 sources = [ "audio_frame_processor.h" ] 32} 33 34rtc_source_set("audio_mixer_api") { 35 visibility = [ "*" ] 36 sources = [ "audio_mixer.h" ] 37 38 deps = [ 39 ":audio_frame_api", 40 "..:make_ref_counted", 41 "../../rtc_base:refcount", 42 ] 43} 44 45rtc_library("aec3_config") { 46 visibility = [ "*" ] 47 sources = [ 48 "echo_canceller3_config.cc", 49 "echo_canceller3_config.h", 50 ] 51 deps = [ 52 "../../rtc_base:checks", 53 "../../rtc_base:safe_minmax", 54 "../../rtc_base/system:rtc_export", 55 ] 56} 57 58rtc_library("aec3_config_json") { 59 visibility = [ "*" ] 60 allow_poison = [ "rtc_json" ] 61 sources = [ 62 "echo_canceller3_config_json.cc", 63 "echo_canceller3_config_json.h", 64 ] 65 deps = [ 66 ":aec3_config", 67 "../../rtc_base:checks", 68 "../../rtc_base:logging", 69 "../../rtc_base:rtc_json", 70 "../../rtc_base:stringutils", 71 "../../rtc_base/system:rtc_export", 72 ] 73 absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] 74} 75 76rtc_library("aec3_factory") { 77 visibility = [ "*" ] 78 configs += [ "../../modules/audio_processing:apm_debug_dump" ] 79 sources = [ 80 "echo_canceller3_factory.cc", 81 "echo_canceller3_factory.h", 82 ] 83 84 deps = [ 85 ":aec3_config", 86 ":echo_control", 87 "../../modules/audio_processing/aec3", 88 "../../rtc_base/system:rtc_export", 89 ] 90} 91 92rtc_source_set("echo_control") { 93 visibility = [ "*" ] 94 sources = [ "echo_control.h" ] 95 deps = [ "../../rtc_base:checks" ] 96} 97 98rtc_source_set("echo_detector_creator") { 99 visibility = [ "*" ] 100 allow_poison = [ "default_echo_detector" ] 101 sources = [ 102 "echo_detector_creator.cc", 103 "echo_detector_creator.h", 104 ] 105 deps = [ 106 "..:make_ref_counted", 107 "../../api:scoped_refptr", 108 "../../modules/audio_processing:api", 109 "../../modules/audio_processing:residual_echo_detector", 110 ] 111} 112