APM: Replace all remaining usage of AudioFrame outside interfaces
This CL replaces all remaining usage of AudioFrame within APM,
with the exception of the AudioProcessing interface.
The main changes are within the unittests.
Bug: webrtc:5298
Change-Id: I219cdd08f81a8679b28d9dd1359a56837945f3d4
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170362
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30831}
diff --git a/modules/audio_processing/include/audio_processing.h b/modules/audio_processing/include/audio_processing.h
index 6f85aa9..fa943c4 100644
--- a/modules/audio_processing/include/audio_processing.h
+++ b/modules/audio_processing/include/audio_processing.h
@@ -258,9 +258,6 @@
} transient_suppression;
// Enables reporting of |voice_detected| in webrtc::AudioProcessingStats.
- // In addition to |voice_detected|, VAD decision is provided through the
- // |AudioFrame| passed to |ProcessStream()|. The |vad_activity_| member will
- // be modified to reflect the current decision.
struct VoiceDetection {
bool enabled = false;
} voice_detection;
@@ -697,7 +694,7 @@
kBadStreamParameterWarning = -13
};
- // Native rates supported by the AudioFrame interfaces.
+ // Native rates supported by the integer interfaces.
enum NativeRate {
kSampleRate8kHz = 8000,
kSampleRate16kHz = 16000,