Revert of Opus implementation of the AudioDecoderFactoryTemplate API (patchset #1 id:1 of https://codereview.webrtc.org/2942733003/ )
Reason for revert:
breaking downstream projects
Original issue's description:
> Opus implementation of the AudioDecoderFactoryTemplate API
>
> BUG=webrtc:7837
>
> Review-Url: https://codereview.webrtc.org/2942733003
> Cr-Commit-Position: refs/heads/master@{#18646}
> Committed: d053fe4ab3
TBR=ossu@webrtc.org,solenberg@webrtc.org,kwiberg@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:7837
Review-Url: https://codereview.webrtc.org/2944763002
Cr-Commit-Position: refs/heads/master@{#18648}
This commit is contained in:
@ -433,7 +433,7 @@ class AudioDecoderOpusTest : public AudioDecoderTest {
|
||||
codec_input_rate_hz_ = 48000;
|
||||
frame_size_ = 480;
|
||||
data_length_ = 10 * frame_size_;
|
||||
decoder_ = new AudioDecoderOpusImpl(1);
|
||||
decoder_ = new AudioDecoderOpus(1);
|
||||
AudioEncoderOpusConfig config;
|
||||
config.frame_size_ms = static_cast<int>(frame_size_) / 48;
|
||||
config.application = AudioEncoderOpusConfig::ApplicationMode::kVoip;
|
||||
@ -446,7 +446,7 @@ class AudioDecoderOpusStereoTest : public AudioDecoderOpusTest {
|
||||
AudioDecoderOpusStereoTest() : AudioDecoderOpusTest() {
|
||||
channels_ = 2;
|
||||
delete decoder_;
|
||||
decoder_ = new AudioDecoderOpusImpl(2);
|
||||
decoder_ = new AudioDecoderOpus(2);
|
||||
AudioEncoderOpusConfig config;
|
||||
config.frame_size_ms = static_cast<int>(frame_size_) / 48;
|
||||
config.num_channels = 2;
|
||||
|
||||
Reference in New Issue
Block a user