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}
diff --git a/modules/audio_coding/test/EncodeDecodeTest.h b/modules/audio_coding/test/EncodeDecodeTest.h
index 3855bc7..f1209c5 100644
--- a/modules/audio_coding/test/EncodeDecodeTest.h
+++ b/modules/audio_coding/test/EncodeDecodeTest.h
@@ -54,8 +54,6 @@
void Run();
bool Add10MsData();
- //for auto_test and logging
- uint8_t testMode;
uint8_t codeId;
protected:
@@ -80,7 +78,6 @@
//for auto_test and logging
uint8_t codeId;
- uint8_t testMode;
private:
PCMFile _pcmFile;
@@ -101,18 +98,13 @@
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;