Revert "Remove CodecInst pt.1"
This reverts commit 056f9738bf7a3d16da45398239656e165c4e0851. Reason for revert: breaks downstream Original change's description: > Remove CodecInst pt.1 > > Update audio_coding tests to not use CodecInst. > > Bug: webrtc:7626 > Change-Id: I880fb8d72d7d0a915d274e67feb6106f023697c2 > Reviewed-on: https://webrtc-review.googlesource.com/c/112594 > Commit-Queue: Fredrik Solenberg <solenberg@webrtc.org> > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#25879} TBR=solenberg@webrtc.org,kwiberg@webrtc.org Change-Id: I51d666969bcd63e2b7cb7d669ec2f59b5f8f9dde No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:7626 Reviewed-on: https://webrtc-review.googlesource.com/c/112906 Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Commit-Queue: Fredrik Solenberg <solenberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25881}
This commit is contained in:
committed by
Commit Bot
parent
9d54bd8898
commit
ec0f45be11
@ -13,7 +13,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "modules/audio_coding/include/audio_coding_module.h"
|
||||
#include "modules/audio_coding/test/Channel.h"
|
||||
#include "modules/audio_coding/test/PCMFile.h"
|
||||
|
||||
namespace webrtc {
|
||||
@ -48,7 +48,7 @@ class TestPack : public AudioPacketizationCallback {
|
||||
|
||||
class TestAllCodecs {
|
||||
public:
|
||||
TestAllCodecs();
|
||||
explicit TestAllCodecs(int test_mode);
|
||||
~TestAllCodecs();
|
||||
|
||||
void Perform();
|
||||
@ -67,7 +67,9 @@ class TestAllCodecs {
|
||||
|
||||
void Run(TestPack* channel);
|
||||
void OpenOutFile(int test_number);
|
||||
void DisplaySendReceiveCodec();
|
||||
|
||||
int test_mode_;
|
||||
std::unique_ptr<AudioCodingModule> acm_a_;
|
||||
std::unique_ptr<AudioCodingModule> acm_b_;
|
||||
TestPack* channel_a_to_b_;
|
||||
|
||||
Reference in New Issue
Block a user