Remove dependencies on modules:module_api from AudioProcessing.
- Directly include api/audio/audio_frame.h everywhere AudioFrame is used. - This *will* remove transient dependencies on libjpeg and a bunch of other things from the e.g. APM. - audio_frame.h still included from module_common_types.h for backwards compatibility with clients. Bug: webrtc:9139, webrtc:7504 Change-Id: Id96f9268c01667fbcc29a01f5c1dd25a37836897 Reviewed-on: https://webrtc-review.googlesource.com/62464 Commit-Queue: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22845}
This commit is contained in:

committed by
Commit Bot

parent
0ab56511f1
commit
bbf21a3fd6
@ -43,7 +43,6 @@
|
||||
#include "modules/audio_processing/residual_echo_detector.h"
|
||||
#include "modules/audio_processing/transient/transient_suppressor.h"
|
||||
#include "modules/audio_processing/voice_detection_impl.h"
|
||||
#include "modules/include/module_common_types.h"
|
||||
#include "rtc_base/atomicops.h"
|
||||
#include "rtc_base/system/file_wrapper.h"
|
||||
#include "system_wrappers/include/metrics.h"
|
||||
@ -1375,8 +1374,8 @@ int AudioProcessingImpl::AnalyzeReverseStreamLocked(
|
||||
processing_config.reverse_output_stream() = output_config;
|
||||
|
||||
RETURN_ON_ERR(MaybeInitializeRender(processing_config));
|
||||
assert(input_config.num_frames() ==
|
||||
formats_.api_format.reverse_input_stream().num_frames());
|
||||
RTC_DCHECK_EQ(input_config.num_frames(),
|
||||
formats_.api_format.reverse_input_stream().num_frames());
|
||||
|
||||
if (aec_dump_) {
|
||||
const size_t channel_size =
|
||||
|
Reference in New Issue
Block a user