| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "webrtc/modules/audio_coding/main/test/utility.h" | 22 #include "webrtc/modules/audio_coding/main/test/utility.h" |
| 23 | 23 |
| 24 #define MAX_FILE_NAME_LENGTH_BYTE 500 | 24 #define MAX_FILE_NAME_LENGTH_BYTE 500 |
| 25 #define NO_OF_CLIENTS 15 | 25 #define NO_OF_CLIENTS 15 |
| 26 | 26 |
| 27 namespace webrtc { | 27 namespace webrtc { |
| 28 | 28 |
| 29 struct ACMTestISACConfig { | 29 struct ACMTestISACConfig { |
| 30 int32_t currentRateBitPerSec; | 30 int32_t currentRateBitPerSec; |
| 31 int16_t currentFrameSizeMsec; | 31 int16_t currentFrameSizeMsec; |
| 32 uint32_t maxRateBitPerSec; | |
| 33 int16_t maxPayloadSizeByte; | |
| 34 int16_t encodingMode; | 32 int16_t encodingMode; |
| 35 uint32_t initRateBitPerSec; | 33 uint32_t initRateBitPerSec; |
| 36 int16_t initFrameSizeInMsec; | 34 int16_t initFrameSizeInMsec; |
| 37 bool enforceFrameSize; | 35 bool enforceFrameSize; |
| 38 }; | 36 }; |
| 39 | 37 |
| 40 class ISACTest : public ACMTest { | 38 class ISACTest : public ACMTest { |
| 41 public: | 39 public: |
| 42 explicit ISACTest(int testMode); | 40 explicit ISACTest(int testMode); |
| 43 ~ISACTest(); | 41 ~ISACTest(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 72 | 70 |
| 73 std::string file_name_swb_; | 71 std::string file_name_swb_; |
| 74 | 72 |
| 75 ACMTestTimer _myTimer; | 73 ACMTestTimer _myTimer; |
| 76 int _testMode; | 74 int _testMode; |
| 77 }; | 75 }; |
| 78 | 76 |
| 79 } // namespace webrtc | 77 } // namespace webrtc |
| 80 | 78 |
| 81 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_ISACTEST_H_ | 79 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_ISACTEST_H_ |
| OLD | NEW |