Switch to using new ACM methods for encoder management

BUG=webrtc:5028

Review URL: https://codereview.webrtc.org/1677013002

Cr-Commit-Position: refs/heads/master@{#12267}
This commit is contained in:
kwiberg
2016-04-06 12:22:38 -07:00
committed by Commit bot
parent dc2242d351
commit c8d071e4e0
8 changed files with 92 additions and 49 deletions

View File

@ -14,6 +14,8 @@
#include <memory>
#include "webrtc/common_types.h"
#include "webrtc/modules/audio_coding/acm2/codec_manager.h"
#include "webrtc/modules/audio_coding/acm2/rent_a_codec.h"
#include "webrtc/modules/audio_coding/include/audio_coding_module.h"
#include "webrtc/typedefs.h"
@ -48,6 +50,8 @@ protected:
private:
std::unique_ptr<AudioCodingModule> _acm;
acm2::CodecManager codec_manager_;
acm2::RentACodec rent_a_codec_;
CodecInst _receiveCodec;