blob: b6ca61951e1e3c988e0788a370c4c7a9720c7ff1 [file]
# Copyright (c) 2025 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
import("../../../webrtc.gni")
rtc_library("capture_mixer") {
visibility = [ "*" ]
sources = [
"audio_content_analyzer.cc",
"audio_content_analyzer.h",
"capture_mixer.cc",
"capture_mixer.h",
"channel_content_remixer.cc",
"channel_content_remixer.h",
"dc_levels_estimator.cc",
"dc_levels_estimator.h",
"energy_estimator.cc",
"energy_estimator.h",
"remixing_logic.cc",
"remixing_logic.h",
"saturation_estimator.cc",
"saturation_estimator.h",
]
defines = []
deps = [ "../../../rtc_base:checks" ]
}
if (rtc_include_tests) {
rtc_cc_test("audio_content_analyzer_unittest") {
sources = [ "audio_content_analyzer_unittest.cc" ]
deps = [
":capture_mixer",
"../../../test:test_support",
]
}
rtc_cc_test("capture_mixer_unittest") {
sources = [ "capture_mixer_unittest.cc" ]
deps = [
":capture_mixer",
"../../../test:test_support",
]
}
rtc_cc_test("channel_content_remixer_unittest") {
sources = [ "channel_content_remixer_unittest.cc" ]
deps = [
":capture_mixer",
"../../../test:test_support",
]
}
rtc_cc_test("dc_levels_estimator_unittest") {
sources = [ "dc_levels_estimator_unittest.cc" ]
deps = [
":capture_mixer",
"../../../test:test_support",
]
}
rtc_cc_test("energy_estimator_unittest") {
sources = [ "energy_estimator_unittest.cc" ]
deps = [
":capture_mixer",
"../../../test:test_support",
]
}
rtc_cc_test("remixing_logic_unittest") {
sources = [ "remixing_logic_unittest.cc" ]
deps = [
":capture_mixer",
"../../../test:test_support",
]
}
rtc_cc_test("saturation_estimator_unittest") {
sources = [ "saturation_estimator_unittest.cc" ]
deps = [
":capture_mixer",
"../../../test:test_support",
]
}
}