Move swap_queue.h to base/
This will let us use the SwapQueue as a message queue for the event log's output thread. See https://codereview.webrtc.org/1687703002/ Review URL: https://codereview.webrtc.org/1812823007 Cr-Commit-Position: refs/heads/master@{#12113}
This commit is contained in:
parent
a4f07887c7
commit
85fa7d5311
@ -151,6 +151,7 @@ static_library("rtc_base_approved") {
|
||||
"stringencode.h",
|
||||
"stringutils.cc",
|
||||
"stringutils.h",
|
||||
"swap_queue.h",
|
||||
"systeminfo.cc",
|
||||
"systeminfo.h",
|
||||
"template_util.h",
|
||||
|
||||
@ -128,6 +128,7 @@
|
||||
'stringencode.h',
|
||||
'stringutils.cc',
|
||||
'stringutils.h',
|
||||
'swap_queue.h',
|
||||
'systeminfo.cc',
|
||||
'systeminfo.h',
|
||||
'template_util.h',
|
||||
|
||||
@ -103,6 +103,7 @@
|
||||
'stream_unittest.cc',
|
||||
'stringencode_unittest.cc',
|
||||
'stringutils_unittest.cc',
|
||||
'swap_queue_unittest.cc',
|
||||
# TODO(ronghuawu): Reenable this test.
|
||||
# 'systeminfo_unittest.cc',
|
||||
'task_unittest.cc',
|
||||
|
||||
@ -8,8 +8,8 @@
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#ifndef WEBRTC_COMMON_AUDIO_SWAP_QUEUE_H_
|
||||
#define WEBRTC_COMMON_AUDIO_SWAP_QUEUE_H_
|
||||
#ifndef WEBRTC_BASE_SWAP_QUEUE_H_
|
||||
#define WEBRTC_BASE_SWAP_QUEUE_H_
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
@ -207,4 +207,4 @@ class SwapQueue {
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_COMMON_AUDIO_SWAP_QUEUE_H_
|
||||
#endif // WEBRTC_BASE_SWAP_QUEUE_H_
|
||||
@ -8,7 +8,7 @@
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include "webrtc/common_audio/swap_queue.h"
|
||||
#include "webrtc/base/swap_queue.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
@ -87,7 +87,6 @@ source_set("common_audio") {
|
||||
"signal_processing/vector_scaling_operations.c",
|
||||
"sparse_fir_filter.cc",
|
||||
"sparse_fir_filter.h",
|
||||
"swap_queue.h",
|
||||
"vad/include/vad.h",
|
||||
"vad/include/webrtc_vad.h",
|
||||
"vad/vad.cc",
|
||||
|
||||
@ -101,7 +101,6 @@
|
||||
'signal_processing/vector_scaling_operations.c',
|
||||
'sparse_fir_filter.cc',
|
||||
'sparse_fir_filter.h',
|
||||
'swap_queue.h',
|
||||
'vad/include/vad.h',
|
||||
'vad/include/webrtc_vad.h',
|
||||
'vad/vad.cc',
|
||||
@ -256,7 +255,6 @@
|
||||
'signal_processing/real_fft_unittest.cc',
|
||||
'signal_processing/signal_processing_unittest.cc',
|
||||
'sparse_fir_filter_unittest.cc',
|
||||
'swap_queue_unittest.cc',
|
||||
'vad/vad_core_unittest.cc',
|
||||
'vad/vad_filterbank_unittest.cc',
|
||||
'vad/vad_gmm_unittest.cc',
|
||||
|
||||
@ -12,10 +12,11 @@
|
||||
#define WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "webrtc/base/constructormagic.h"
|
||||
#include "webrtc/base/criticalsection.h"
|
||||
#include "webrtc/common_audio/swap_queue.h"
|
||||
#include "webrtc/base/swap_queue.h"
|
||||
#include "webrtc/modules/audio_processing/include/audio_processing.h"
|
||||
#include "webrtc/modules/audio_processing/render_queue_item_verifier.h"
|
||||
|
||||
|
||||
@ -12,10 +12,11 @@
|
||||
#define WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CONTROL_MOBILE_IMPL_H_
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "webrtc/base/constructormagic.h"
|
||||
#include "webrtc/base/criticalsection.h"
|
||||
#include "webrtc/common_audio/swap_queue.h"
|
||||
#include "webrtc/base/swap_queue.h"
|
||||
#include "webrtc/modules/audio_processing/include/audio_processing.h"
|
||||
#include "webrtc/modules/audio_processing/render_queue_item_verifier.h"
|
||||
|
||||
|
||||
@ -16,8 +16,8 @@
|
||||
|
||||
#include "webrtc/base/constructormagic.h"
|
||||
#include "webrtc/base/criticalsection.h"
|
||||
#include "webrtc/base/swap_queue.h"
|
||||
#include "webrtc/base/thread_annotations.h"
|
||||
#include "webrtc/common_audio/swap_queue.h"
|
||||
#include "webrtc/modules/audio_processing/include/audio_processing.h"
|
||||
#include "webrtc/modules/audio_processing/render_queue_item_verifier.h"
|
||||
|
||||
|
||||
@ -15,9 +15,9 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "webrtc/base/swap_queue.h"
|
||||
#include "webrtc/common_audio/lapped_transform.h"
|
||||
#include "webrtc/common_audio/channel_buffer.h"
|
||||
#include "webrtc/common_audio/swap_queue.h"
|
||||
#include "webrtc/modules/audio_processing/intelligibility/intelligibility_utils.h"
|
||||
#include "webrtc/modules/audio_processing/render_queue_item_verifier.h"
|
||||
#include "webrtc/modules/audio_processing/vad/voice_activity_detector.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user