| Index: webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc
|
| diff --git a/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc b/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc
|
| index 6b39cc8ac74f7b061877ae607557c4d4d4521ea3..515f6c0f4215cf21cb8f1491c1014493df243003 100644
|
| --- a/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc
|
| +++ b/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc
|
| @@ -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.
|
|
|