| Index: webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc
|
| diff --git a/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc b/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc
|
| index c33905a3888c798027e578f6f9108191efff24a5..c634885e525b1de8086d6d592438375786596423 100644
|
| --- a/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc
|
| +++ b/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc
|
| @@ -208,7 +208,12 @@ void OpusTest::TestDtxEffect(bool dtx, int block_length_ms) {
|
| const int kCheckTimeMs = 4000;
|
|
|
| #if defined(OPUS_FIXED_POINT)
|
| - const uint16_t kOutputValueBound = 20;
|
| + // Fixed-point Opus generates a random (comfort) noise, which has a less
|
| + // predictable value bound than its floating-point Opus. This value depends on
|
| + // input signal, and the time window for checking the output values (between
|
| + // |kCheckTimeMs| and |kRunTimeMs|).
|
| + const uint16_t kOutputValueBound = 30;
|
| +
|
| #else
|
| const uint16_t kOutputValueBound = 2;
|
| #endif
|
|
|