G722 implementation of the AudioDecoderFactoryTemplate API

Now the templated AudioDecoderFactory can create G722 decoders!

BUG=webrtc:7839

Review-Url: https://codereview.webrtc.org/2940833002
Cr-Commit-Position: refs/heads/master@{#18643}
This commit is contained in:
kwiberg
2017-06-17 17:30:09 -07:00
committed by Commit Bot
parent 0eacd88568
commit b1ed7f09c0
9 changed files with 138 additions and 20 deletions

View File

@ -402,7 +402,7 @@ class AudioDecoderG722Test : public AudioDecoderTest {
codec_input_rate_hz_ = 16000;
frame_size_ = 160;
data_length_ = 10 * frame_size_;
decoder_ = new AudioDecoderG722;
decoder_ = new AudioDecoderG722Impl;
assert(decoder_);
AudioEncoderG722::Config config;
config.frame_size_ms = 10;