Remove workaround for Opus DTX noise pumping issue.
A workaround for Opus DTX noise pumping issue was made according upon this https://codereview.webrtc.org/1422213003 Recently, Opus has fixed this problem internally, and hence the workaround is not needed any longer. This CL removes this workaround. BUG=586175 R=flim@webrtc.org, tina.legrand@webrtc.org Review URL: https://codereview.webrtc.org/1715423002 . Cr-Commit-Position: refs/heads/master@{#11805}
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user