/* * 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. */ #ifndef MODULES_ASYNC_AUDIO_PROCESSING_ASYNC_AUDIO_PROCESSING_H_ #define MODULES_ASYNC_AUDIO_PROCESSING_ASYNC_AUDIO_PROCESSING_H_ #include <memory> #include "api/audio/audio_frame_processor.h" #include "api/task_queue/task_queue_base.h" #include "rtc_base/ref_count.h" namespace webrtc { class AudioFrame; class TaskQueueFactory; // Helper class taking care of interactions with AudioFrameProcessor // in asynchronous manner. Offloads AudioFrameProcessor::Process calls // to a dedicated task queue. Makes sure that it's always safe for // AudioFrameProcessor to pass processed frames back to its sink. class AsyncAudioProcessing final { … }; } // namespace webrtc #endif // MODULES_ASYNC_AUDIO_PROCESSING_ASYNC_AUDIO_PROCESSING_H_