mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00

API to injecting a heavy audio processing operation into WebRTC audio capture pipeline Bug: webrtc:12003 Change-Id: I9f6f58f468bd84efd0a9d53d703db6229a03959e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/165788 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Olga Sharonova <olka@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32291}
44 lines
1.2 KiB
Text
44 lines
1.2 KiB
Text
# Copyright (c) 2020 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("async_audio_processing") {
|
|
sources = [
|
|
"async_audio_processing.cc",
|
|
"async_audio_processing.h",
|
|
]
|
|
|
|
public = [ "async_audio_processing.h" ]
|
|
|
|
deps = [
|
|
"../../api:scoped_refptr",
|
|
"../../api/audio:audio_frame_api",
|
|
"../../api/audio:audio_frame_processor",
|
|
"../../api/task_queue:task_queue",
|
|
"../../rtc_base:checks",
|
|
"../../rtc_base:rtc_base_approved",
|
|
"../../rtc_base:rtc_task_queue",
|
|
"../../rtc_base/synchronization:sequence_checker",
|
|
]
|
|
}
|
|
|
|
if (rtc_include_tests) {
|
|
rtc_library("async_audio_processing_test") {
|
|
testonly = true
|
|
|
|
sources = []
|
|
|
|
deps = [
|
|
":async_audio_processing",
|
|
"../../api/audio:audio_frame_api",
|
|
"../../rtc_base:checks",
|
|
"../../rtc_base:rtc_base_approved",
|
|
]
|
|
}
|
|
}
|