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 |
11 #ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_OPUS_TEST_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_OPUS_TEST_H_ |
12 #define WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_OPUS_TEST_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_OPUS_TEST_H_ |
13 | 13 |
14 #include <math.h> | 14 #include <math.h> |
15 | 15 |
16 #include "webrtc/base/scoped_ptr.h" | 16 #include "webrtc/base/scoped_ptr.h" |
17 #include "webrtc/modules/audio_coding/codecs/opus/interface/opus_interface.h" | 17 #include "webrtc/modules/audio_coding/codecs/opus/include/opus_interface.h" |
18 #include "webrtc/modules/audio_coding/main/acm2/acm_resampler.h" | 18 #include "webrtc/modules/audio_coding/main/acm2/acm_resampler.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 #include "webrtc/modules/audio_coding/main/test/PCMFile.h" | 21 #include "webrtc/modules/audio_coding/main/test/PCMFile.h" |
22 #include "webrtc/modules/audio_coding/main/test/TestStereo.h" | 22 #include "webrtc/modules/audio_coding/main/test/TestStereo.h" |
23 | 23 |
24 namespace webrtc { | 24 namespace webrtc { |
25 | 25 |
26 class OpusTest : public ACMTest { | 26 class OpusTest : public ACMTest { |
27 public: | 27 public: |
(...skipping 20 matching lines...) Expand all Loading... |
48 acm2::ACMResampler resampler_; | 48 acm2::ACMResampler resampler_; |
49 WebRtcOpusEncInst* opus_mono_encoder_; | 49 WebRtcOpusEncInst* opus_mono_encoder_; |
50 WebRtcOpusEncInst* opus_stereo_encoder_; | 50 WebRtcOpusEncInst* opus_stereo_encoder_; |
51 WebRtcOpusDecInst* opus_mono_decoder_; | 51 WebRtcOpusDecInst* opus_mono_decoder_; |
52 WebRtcOpusDecInst* opus_stereo_decoder_; | 52 WebRtcOpusDecInst* opus_stereo_decoder_; |
53 }; | 53 }; |
54 | 54 |
55 } // namespace webrtc | 55 } // namespace webrtc |
56 | 56 |
57 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_OPUS_TEST_H_ | 57 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_OPUS_TEST_H_ |
OLD | NEW |