Update Opus tests for Opus 1.3
This updates various bitexactness tests and other tests that no longer pass. Bug: webrtc:11325 Change-Id: Ifa3e4b42e303f5573e028dfdf8a108a76f6318ae Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168952 Commit-Queue: Ivo Creusen <ivoc@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30688}
This commit is contained in:
@ -599,10 +599,9 @@ TEST_F(AudioDecoderG722StereoTest, SetTargetBitrate) {
|
||||
TestSetAndGetTargetBitratesWithFixedCodec(audio_encoder_.get(), 128000);
|
||||
}
|
||||
|
||||
// TODO(webrtc:11325) Reenable after Opus has been upgraded to 1.3.
|
||||
TEST_P(AudioDecoderOpusTest, DISABLED_EncodeDecode) {
|
||||
TEST_P(AudioDecoderOpusTest, EncodeDecode) {
|
||||
constexpr int tolerance = 6176;
|
||||
const int channel_diff_tolerance = opus_sample_rate_hz_ == 16000 ? 6 : 0;
|
||||
constexpr int channel_diff_tolerance = 6;
|
||||
constexpr double mse = 238630.0;
|
||||
constexpr int delay = 22; // Delay from input to output.
|
||||
EncodeDecodeTest(0, tolerance, mse, delay, channel_diff_tolerance);
|
||||
|
Reference in New Issue
Block a user