Don't forget to support G722 stereo decoding

https://codereview.webrtc.org/2940833002 added support for G722
decoding with the AudioDecoderFactoryTemplate API, but forgot to
support stereo.

BUG=webrtc:7839

Review-Url: https://codereview.webrtc.org/2945423003
Cr-Commit-Position: refs/heads/master@{#18761}
This commit is contained in:
kwiberg
2017-06-26 04:19:43 -07:00
committed by Commit Bot
parent 2f45b6b15f
commit 1b97e26364
7 changed files with 47 additions and 27 deletions

View File

@ -418,7 +418,7 @@ class AudioDecoderG722StereoTest : public AudioDecoderTest {
codec_input_rate_hz_ = 16000;
frame_size_ = 160;
data_length_ = 10 * frame_size_;
decoder_ = new AudioDecoderG722Stereo;
decoder_ = new AudioDecoderG722StereoImpl;
assert(decoder_);
AudioEncoderG722Config config;
config.frame_size_ms = 10;