зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
339115c0f8
Коммит
4b2c6cfb4c
|
@ -202,8 +202,8 @@ TEST(OpusAudioTrackEncoder, Resample)
|
|||
EXPECT_TRUE(TestOpusResampler(1, 48000) == 48000);
|
||||
|
||||
// Otherwise, it should be resampled to 48kHz by resampler.
|
||||
EXPECT_FALSE(TestOpusResampler(1, 9600) == 9600);
|
||||
EXPECT_FALSE(TestOpusResampler(1, 44100) == 44100);
|
||||
EXPECT_TRUE(TestOpusResampler(1, 9600) == 48000);
|
||||
EXPECT_TRUE(TestOpusResampler(1, 44100) == 48000);
|
||||
}
|
||||
|
||||
TEST(OpusAudioTrackEncoder, FetchMetadata)
|
||||
|
|
Загрузка…
Ссылка в новой задаче