Adding a placeholder audio_buffer build target
This CL adds a placeholder build target in preparation for an upcoming CL (https://webrtc-review.googlesource.com/c/src/+/125081). Bug: webrtc:10366 Change-Id: I5b226e01d561689acf1624e2c0bad30cc1865011 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/125560 Reviewed-by: Sam Zackrisson <saza@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26965}
This commit is contained in:
@ -61,6 +61,14 @@ rtc_source_set("api") {
|
||||
]
|
||||
}
|
||||
|
||||
rtc_static_library("audio_buffer") {
|
||||
visibility = [ "*" ]
|
||||
sources = [
|
||||
"audio_buffer_placeholder.cc",
|
||||
"audio_buffer_placeholder.h",
|
||||
]
|
||||
}
|
||||
|
||||
rtc_static_library("audio_processing") {
|
||||
visibility = [ "*" ]
|
||||
configs += [ ":apm_debug_dump" ]
|
||||
@ -128,6 +136,7 @@ rtc_static_library("audio_processing") {
|
||||
deps = [
|
||||
":api",
|
||||
":apm_logging",
|
||||
":audio_buffer",
|
||||
":audio_frame_view",
|
||||
":audio_generator_interface",
|
||||
":audio_processing_c",
|
||||
@ -408,6 +417,7 @@ if (rtc_include_tests) {
|
||||
":analog_mic_simulation",
|
||||
":api",
|
||||
":apm_logging",
|
||||
":audio_buffer",
|
||||
":audio_frame_view",
|
||||
":audio_processing",
|
||||
":audioproc_test_utils",
|
||||
@ -637,6 +647,7 @@ if (rtc_include_tests) {
|
||||
|
||||
deps = [
|
||||
":api",
|
||||
":audio_buffer",
|
||||
":audio_processing",
|
||||
"../../api:array_view",
|
||||
"../../api/audio:audio_frame_api",
|
||||
|
||||
16
modules/audio_processing/audio_buffer_placeholder.cc
Normal file
16
modules/audio_processing/audio_buffer_placeholder.cc
Normal file
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (c) 2019 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.
|
||||
*/
|
||||
|
||||
#include "modules/audio_processing/audio_buffer_placeholder.h"
|
||||
|
||||
// TODO(peah): Remove this file once the audio buffer has been moved to the
|
||||
// audio_buffer build target. The purpose of this file is to ensure that the
|
||||
// audio_buffer build target is not empty as that causes the compiler to
|
||||
// complain.
|
||||
25
modules/audio_processing/audio_buffer_placeholder.h
Normal file
25
modules/audio_processing/audio_buffer_placeholder.h
Normal file
@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Copyright (c) 2019 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.
|
||||
*/
|
||||
|
||||
#ifndef MODULES_AUDIO_PROCESSING_AUDIO_BUFFER_PLACEHOLDER_H_
|
||||
#define MODULES_AUDIO_PROCESSING_AUDIO_BUFFER_PLACEHOLDER_H_
|
||||
|
||||
// TODO(peah): Remove this file once the audio buffer has been moved to the
|
||||
// audio_buffer build target. The purpose of this file is to ensure that the
|
||||
// audio_buffer build target is not empty as that causes the compiler to
|
||||
// complain.
|
||||
struct AudioBufferPlaceholder {
|
||||
public:
|
||||
int dummy;
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
#endif // MODULES_AUDIO_PROCESSING_AUDIO_BUFFER_PLACEHOLDER_H_
|
||||
Reference in New Issue
Block a user