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}
diff --git a/webrtc/modules/utility/source/coder.h b/webrtc/modules/utility/source/coder.h
index 399edbd..9536a02 100644
--- a/webrtc/modules/utility/source/coder.h
+++ b/webrtc/modules/utility/source/coder.h
@@ -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 @@
private:
std::unique_ptr<AudioCodingModule> _acm;
+ acm2::CodecManager codec_manager_;
+ acm2::RentACodec rent_a_codec_;
CodecInst _receiveCodec;