Add 120ms frame ability to ANA

BUG=webrtc:7093

Review-Url: https://codereview.webrtc.org/2669733002
Cr-Commit-Position: refs/heads/master@{#16416}
This commit is contained in:
michaelt
2017-02-02 07:47:19 -08:00
committed by Commit bot
parent ed01647ea9
commit a55f021d43
8 changed files with 123 additions and 91 deletions

View File

@ -35,7 +35,12 @@ constexpr int kSampleRateHz = 48000;
constexpr int kMinBitrateBps = 6000;
constexpr int kMaxBitrateBps = 512000;
#if WEBRTC_OPUS_SUPPORT_120MS_PTIME
constexpr int kSupportedFrameLengths[] = {20, 60, 120};
#else
constexpr int kSupportedFrameLengths[] = {20, 60};
#endif
// PacketLossFractionSmoother uses an exponential filter with a time constant
// of -1.0 / ln(0.9999) = 10000 ms.