| 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 #include <math.h> | 11 #include <math.h> |
| 12 #include <stdio.h> | 12 #include <stdio.h> |
| 13 #include <algorithm> | 13 #include <algorithm> |
| 14 #include <limits> | 14 #include <limits> |
| 15 #include <queue> | 15 #include <queue> |
| 16 | 16 |
| 17 #include "webrtc/base/scoped_ptr.h" | 17 #include "webrtc/base/scoped_ptr.h" |
| 18 #include "webrtc/common_audio/include/audio_util.h" | 18 #include "webrtc/common_audio/include/audio_util.h" |
| 19 #include "webrtc/common_audio/resampler/include/push_resampler.h" | 19 #include "webrtc/common_audio/resampler/include/push_resampler.h" |
| 20 #include "webrtc/common_audio/resampler/push_sinc_resampler.h" | 20 #include "webrtc/common_audio/resampler/push_sinc_resampler.h" |
| 21 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" | 21 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" |
| 22 #include "webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h
" | 22 #include "webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h
" |
| 23 #include "webrtc/modules/audio_processing/common.h" | 23 #include "webrtc/modules/audio_processing/common.h" |
| 24 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 24 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
| 25 #include "webrtc/modules/audio_processing/test/protobuf_utils.h" | 25 #include "webrtc/modules/audio_processing/test/protobuf_utils.h" |
| 26 #include "webrtc/modules/audio_processing/test/test_utils.h" | 26 #include "webrtc/modules/audio_processing/test/test_utils.h" |
| 27 #include "webrtc/modules/interface/module_common_types.h" | 27 #include "webrtc/modules/include/module_common_types.h" |
| 28 #include "webrtc/system_wrappers/include/event_wrapper.h" | 28 #include "webrtc/system_wrappers/include/event_wrapper.h" |
| 29 #include "webrtc/system_wrappers/include/trace.h" | 29 #include "webrtc/system_wrappers/include/trace.h" |
| 30 #include "webrtc/test/testsupport/fileutils.h" | 30 #include "webrtc/test/testsupport/fileutils.h" |
| 31 #include "webrtc/test/testsupport/gtest_disable.h" | 31 #include "webrtc/test/testsupport/gtest_disable.h" |
| 32 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 32 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
| 33 #include "gtest/gtest.h" | 33 #include "gtest/gtest.h" |
| 34 #include "external/webrtc/webrtc/modules/audio_processing/test/unittest.pb.h" | 34 #include "external/webrtc/webrtc/modules/audio_processing/test/unittest.pb.h" |
| 35 #else | 35 #else |
| 36 #include "testing/gtest/include/gtest/gtest.h" | 36 #include "testing/gtest/include/gtest/gtest.h" |
| 37 #include "webrtc/audio_processing/unittest.pb.h" | 37 #include "webrtc/audio_processing/unittest.pb.h" |
| (...skipping 2705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2743 std::tr1::make_tuple(16000, 32000, 48000, 32000, 25, 35), | 2743 std::tr1::make_tuple(16000, 32000, 48000, 32000, 25, 35), |
| 2744 std::tr1::make_tuple(16000, 32000, 32000, 32000, 25, 0), | 2744 std::tr1::make_tuple(16000, 32000, 32000, 32000, 25, 0), |
| 2745 std::tr1::make_tuple(16000, 32000, 16000, 32000, 25, 20), | 2745 std::tr1::make_tuple(16000, 32000, 16000, 32000, 25, 20), |
| 2746 std::tr1::make_tuple(16000, 16000, 48000, 16000, 35, 20), | 2746 std::tr1::make_tuple(16000, 16000, 48000, 16000, 35, 20), |
| 2747 std::tr1::make_tuple(16000, 16000, 32000, 16000, 40, 20), | 2747 std::tr1::make_tuple(16000, 16000, 32000, 16000, 40, 20), |
| 2748 std::tr1::make_tuple(16000, 16000, 16000, 16000, 0, 0))); | 2748 std::tr1::make_tuple(16000, 16000, 16000, 16000, 0, 0))); |
| 2749 #endif | 2749 #endif |
| 2750 | 2750 |
| 2751 } // namespace | 2751 } // namespace |
| 2752 } // namespace webrtc | 2752 } // namespace webrtc |
| OLD | NEW |