| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module.h" | 11 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module.h" |
| 12 | 12 |
| 13 #include <assert.h> | 13 #include <assert.h> |
| 14 #include <math.h> | 14 #include <math.h> |
| 15 | 15 |
| 16 #include <iostream> | 16 #include <iostream> |
| 17 | 17 |
| 18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
| 19 #include "webrtc/base/scoped_ptr.h" | 19 #include "webrtc/base/scoped_ptr.h" |
| 20 #include "webrtc/common_types.h" | 20 #include "webrtc/common_types.h" |
| 21 #include "webrtc/engine_configurations.h" | 21 #include "webrtc/engine_configurations.h" |
| 22 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module_typedef
s.h" | 22 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module_typedef
s.h" |
| 23 #include "webrtc/modules/audio_coding/main/test/Channel.h" | 23 #include "webrtc/modules/audio_coding/main/test/Channel.h" |
| 24 #include "webrtc/modules/audio_coding/main/test/PCMFile.h" | 24 #include "webrtc/modules/audio_coding/main/test/PCMFile.h" |
| 25 #include "webrtc/modules/audio_coding/main/test/utility.h" | 25 #include "webrtc/modules/audio_coding/main/test/utility.h" |
| 26 #include "webrtc/system_wrappers/interface/event_wrapper.h" | 26 #include "webrtc/system_wrappers/include/event_wrapper.h" |
| 27 #include "webrtc/test/testsupport/fileutils.h" | 27 #include "webrtc/test/testsupport/fileutils.h" |
| 28 #include "webrtc/test/testsupport/gtest_disable.h" | 28 #include "webrtc/test/testsupport/gtest_disable.h" |
| 29 | 29 |
| 30 namespace webrtc { | 30 namespace webrtc { |
| 31 | 31 |
| 32 namespace { | 32 namespace { |
| 33 | 33 |
| 34 double FrameRms(AudioFrame& frame) { | 34 double FrameRms(AudioFrame& frame) { |
| 35 size_t samples = frame.num_channels_ * frame.samples_per_channel_; | 35 size_t samples = frame.num_channels_ * frame.samples_per_channel_; |
| 36 double rms = 0; | 36 double rms = 0; |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 | 166 |
| 167 TEST_F(InitialPlayoutDelayTest, SwbMono) { SwbMono(); } | 167 TEST_F(InitialPlayoutDelayTest, SwbMono) { SwbMono(); } |
| 168 | 168 |
| 169 TEST_F(InitialPlayoutDelayTest, NbStereo) { NbStereo(); } | 169 TEST_F(InitialPlayoutDelayTest, NbStereo) { NbStereo(); } |
| 170 | 170 |
| 171 TEST_F(InitialPlayoutDelayTest, WbStereo) { WbStereo(); } | 171 TEST_F(InitialPlayoutDelayTest, WbStereo) { WbStereo(); } |
| 172 | 172 |
| 173 TEST_F(InitialPlayoutDelayTest, SwbStereo) { SwbStereo(); } | 173 TEST_F(InitialPlayoutDelayTest, SwbStereo) { SwbStereo(); } |
| 174 | 174 |
| 175 } // namespace webrtc | 175 } // namespace webrtc |
| OLD | NEW |