Split RMS level measurement utility from APM
This moves rms_level.* into a separate build target. Bug: webrtc:11226 Change-Id: I94ceacd1ec65dda48f5d19b22ba2625d13543e08 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170323 Reviewed-by: Per Åhgren <peah@webrtc.org> Commit-Queue: Sam Zackrisson <saza@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30856}
This commit is contained in:

committed by
Commit Bot

parent
8d1f72852e
commit
7eab0a820f
@ -70,6 +70,7 @@ rtc_library("audio") {
|
|||||||
"../modules/audio_processing",
|
"../modules/audio_processing",
|
||||||
"../modules/audio_processing:api",
|
"../modules/audio_processing:api",
|
||||||
"../modules/audio_processing:audio_frame_proxies",
|
"../modules/audio_processing:audio_frame_proxies",
|
||||||
|
"../modules/audio_processing:rms_level",
|
||||||
"../modules/pacing",
|
"../modules/pacing",
|
||||||
"../modules/remote_bitrate_estimator",
|
"../modules/remote_bitrate_estimator",
|
||||||
"../modules/rtp_rtcp",
|
"../modules/rtp_rtcp",
|
||||||
|
@ -140,8 +140,6 @@ rtc_library("audio_processing") {
|
|||||||
"render_queue_item_verifier.h",
|
"render_queue_item_verifier.h",
|
||||||
"residual_echo_detector.cc",
|
"residual_echo_detector.cc",
|
||||||
"residual_echo_detector.h",
|
"residual_echo_detector.h",
|
||||||
"rms_level.cc",
|
|
||||||
"rms_level.h",
|
|
||||||
"typing_detection.cc",
|
"typing_detection.cc",
|
||||||
"typing_detection.h",
|
"typing_detection.h",
|
||||||
]
|
]
|
||||||
@ -216,10 +214,15 @@ rtc_library("voice_detection") {
|
|||||||
|
|
||||||
rtc_source_set("rms_level") {
|
rtc_source_set("rms_level") {
|
||||||
visibility = [ "*" ]
|
visibility = [ "*" ]
|
||||||
|
sources = [
|
||||||
# TODO(webrtc:11226): Move rms_level.* to here.
|
"rms_level.cc",
|
||||||
sources = []
|
"rms_level.h",
|
||||||
deps = []
|
]
|
||||||
|
deps = [
|
||||||
|
"../../api:array_view",
|
||||||
|
"../../rtc_base:checks",
|
||||||
|
"//third_party/abseil-cpp/absl/types:optional",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
rtc_library("audio_processing_statistics") {
|
rtc_library("audio_processing_statistics") {
|
||||||
@ -415,6 +418,7 @@ if (rtc_include_tests) {
|
|||||||
":audioproc_protobuf_utils",
|
":audioproc_protobuf_utils",
|
||||||
":audioproc_test_utils",
|
":audioproc_test_utils",
|
||||||
":audioproc_unittest_proto",
|
":audioproc_unittest_proto",
|
||||||
|
":rms_level",
|
||||||
":runtime_settings_protobuf_utils",
|
":runtime_settings_protobuf_utils",
|
||||||
"../../api/audio:audio_frame_api",
|
"../../api/audio:audio_frame_api",
|
||||||
"../../api/audio:echo_control",
|
"../../api/audio:echo_control",
|
||||||
|
Reference in New Issue
Block a user