mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
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:
parent
339115c0f8
commit
4b2c6cfb4c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user