OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 |
11 #ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_TESTVADDTX_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_TESTVADDTX_H_ |
12 #define WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_TESTVADDTX_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_TESTVADDTX_H_ |
13 | 13 |
14 | 14 |
15 #include "webrtc/base/scoped_ptr.h" | 15 #include "webrtc/base/scoped_ptr.h" |
16 #include "webrtc/common_types.h" | 16 #include "webrtc/common_types.h" |
17 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module.h" | 17 #include "webrtc/modules/audio_coding/main/include/audio_coding_module.h" |
18 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module_typedef
s.h" | 18 #include "webrtc/modules/audio_coding/main/include/audio_coding_module_typedefs.
h" |
19 #include "webrtc/modules/audio_coding/main/test/ACMTest.h" | 19 #include "webrtc/modules/audio_coding/main/test/ACMTest.h" |
20 #include "webrtc/modules/audio_coding/main/test/Channel.h" | 20 #include "webrtc/modules/audio_coding/main/test/Channel.h" |
21 | 21 |
22 namespace webrtc { | 22 namespace webrtc { |
23 | 23 |
24 class ActivityMonitor : public ACMVADCallback { | 24 class ActivityMonitor : public ACMVADCallback { |
25 public: | 25 public: |
26 ActivityMonitor(); | 26 ActivityMonitor(); |
27 int32_t InFrameType(FrameType frame_type); | 27 int32_t InFrameType(FrameType frame_type); |
28 void PrintStatistics(); | 28 void PrintStatistics(); |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 // TestOpusDtx is to verify that the Opus DTX performs as it should. | 94 // TestOpusDtx is to verify that the Opus DTX performs as it should. |
95 class TestOpusDtx final : public TestVadDtx { | 95 class TestOpusDtx final : public TestVadDtx { |
96 public: | 96 public: |
97 void Perform() override; | 97 void Perform() override; |
98 }; | 98 }; |
99 | 99 |
100 } // namespace webrtc | 100 } // namespace webrtc |
101 | 101 |
102 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_TESTVADDTX_H_ | 102 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_TESTVADDTX_H_ |
OLD | NEW |