Bug 1296531 - Fix AudioTrackEncoder resampling gtest to match comment. r=jesup

MozReview-Commit-ID: F0uCA9VkeQf

--HG--
extra : rebase_source : 3845511108059763cffdba9d4847915f9762987a
This commit is contained in:
Andreas Pehrson 2017-02-17 12:23:43 +01:00
parent 339115c0f8
commit 4b2c6cfb4c

View File

@ -202,8 +202,8 @@ TEST(OpusAudioTrackEncoder, Resample)
EXPECT_TRUE(TestOpusResampler(1, 48000) == 48000); EXPECT_TRUE(TestOpusResampler(1, 48000) == 48000);
// Otherwise, it should be resampled to 48kHz by resampler. // Otherwise, it should be resampled to 48kHz by resampler.
EXPECT_FALSE(TestOpusResampler(1, 9600) == 9600); EXPECT_TRUE(TestOpusResampler(1, 9600) == 48000);
EXPECT_FALSE(TestOpusResampler(1, 44100) == 44100); EXPECT_TRUE(TestOpusResampler(1, 44100) == 48000);
} }
TEST(OpusAudioTrackEncoder, FetchMetadata) TEST(OpusAudioTrackEncoder, FetchMetadata)