Remove support for old test modes in EncodeDecodeTest

This test is so old, it used to be interactive with an automated mode
bolted on to the side. That automatic mode is the only one that's used
nowadays.

Bug: webrtc:8396
Change-Id: I3b473f53ff6afa363b9691e8471a5754f46d3d3f
Reviewed-on: https://webrtc-review.googlesource.com/83583
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23620}
This commit is contained in:
Karl Wiberg
2018-06-14 13:12:05 +02:00
committed by Commit Bot
parent d477129ac0
commit 88aee288f8
3 changed files with 23 additions and 73 deletions

View File

@ -54,8 +54,6 @@ class Sender {
void Run();
bool Add10MsData();
//for auto_test and logging
uint8_t testMode;
uint8_t codeId;
protected:
@ -80,7 +78,6 @@ class Receiver {
//for auto_test and logging
uint8_t codeId;
uint8_t testMode;
private:
PCMFile _pcmFile;
@ -101,18 +98,13 @@ class Receiver {
class EncodeDecodeTest : public ACMTest {
public:
EncodeDecodeTest();
explicit EncodeDecodeTest(int testMode);
explicit EncodeDecodeTest(int test_mode);
void Perform() override;
uint16_t _playoutFreq;
uint8_t _testMode;
private:
std::string EncodeToFile(int fileType,
int codeId,
int* codePars,
int testMode);
std::string EncodeToFile(int fileType, int codeId, int* codePars);
protected:
Sender _sender;