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:
@ -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;
|
||||
|
Reference in New Issue
Block a user