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:
@ -101,13 +101,13 @@ float EncodedPowerRatio(AudioEncoder* encoder,
|
||||
|
||||
} // namespace
|
||||
|
||||
// TODO(webrtc:11325) Reenable after Opus has been upgraded to 1.3.
|
||||
TEST(BandwidthAdaptationTest, DISABLED_BandwidthAdaptationTest) {
|
||||
// TODO(ivoc): Remove this test, WebRTC-AdjustOpusBandwidth is obsolete.
|
||||
TEST(BandwidthAdaptationTest, BandwidthAdaptationTest) {
|
||||
test::ScopedFieldTrials override_field_trials(
|
||||
"WebRTC-AdjustOpusBandwidth/Enabled/");
|
||||
|
||||
constexpr float kMaxNarrowbandRatio = 0.0035f;
|
||||
constexpr float kMinWidebandRatio = 0.03f;
|
||||
constexpr float kMinWidebandRatio = 0.01f;
|
||||
|
||||
// Create encoder.
|
||||
AudioEncoderOpusConfig enc_config;
|
||||
|
||||
Reference in New Issue
Block a user