Injectable audio encoders: BuiltinAudioEncoderFactory
This CL contains all the changes made to audio_coding while making audio encoders injectable. Apart from some small changes to webrtcvoiceengine, nothing here is hooked up to the outside world. Those changes will be added to a follow-up CL. BUG=webrtc:5806 Review-Url: https://codereview.webrtc.org/2695243005 Cr-Commit-Position: refs/heads/master@{#17569}
This commit is contained in:
@ -611,8 +611,8 @@ void TestOpusSetTargetBitrates(AudioEncoder* audio_encoder) {
|
||||
EXPECT_EQ(6000, SetAndGetTargetBitrate(audio_encoder, 5999));
|
||||
EXPECT_EQ(6000, SetAndGetTargetBitrate(audio_encoder, 6000));
|
||||
EXPECT_EQ(32000, SetAndGetTargetBitrate(audio_encoder, 32000));
|
||||
EXPECT_EQ(512000, SetAndGetTargetBitrate(audio_encoder, 512000));
|
||||
EXPECT_EQ(512000, SetAndGetTargetBitrate(audio_encoder, 513000));
|
||||
EXPECT_EQ(510000, SetAndGetTargetBitrate(audio_encoder, 510000));
|
||||
EXPECT_EQ(510000, SetAndGetTargetBitrate(audio_encoder, 511000));
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user