Process 8 kHz audio as 16 kHz internally of the audio processing module

This CL changes the behavior of APM for 8 kHz so that it is internally
processed as 16 kHz.


Bug: webrtc:10863
Change-Id: Ie17de6551c6e984b60534820374a49ca298f06ce
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/148800
Commit-Queue: Per Åhgren <peah@webrtc.org>
Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28929}
This commit is contained in:
Per Åhgren
2019-08-21 15:45:07 +02:00
committed by Commit Bot
parent 81c0cf287c
commit 1c602e39ce
5 changed files with 18 additions and 18 deletions

View File

@ -698,6 +698,7 @@ class AudioProcessing : public rtc::RefCountInterface {
kBadStreamParameterWarning = -13
};
// Native rates supported by the AudioFrame interfaces.
enum NativeRate {
kSampleRate8kHz = 8000,
kSampleRate16kHz = 16000,