OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // MSVC++ requires this to be set before any other includes to get M_PI. | 5 // MSVC++ requires this to be set before any other includes to get M_PI. |
6 #define _USE_MATH_DEFINES | 6 #define _USE_MATH_DEFINES |
7 | 7 |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
| 12 #include "base/macros.h" |
12 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
13 #include "base/time/time.h" | 14 #include "base/time/time.h" |
14 #include "build/build_config.h" | 15 #include "build/build_config.h" |
15 #include "media/base/sinc_resampler.h" | 16 #include "media/base/sinc_resampler.h" |
16 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
18 | 19 |
19 using testing::_; | 20 using testing::_; |
20 | 21 |
21 namespace media { | 22 namespace media { |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 std::tr1::make_tuple(11025, 192000, kResamplingRMSError, -62.61), | 401 std::tr1::make_tuple(11025, 192000, kResamplingRMSError, -62.61), |
401 std::tr1::make_tuple(16000, 192000, kResamplingRMSError, -63.14), | 402 std::tr1::make_tuple(16000, 192000, kResamplingRMSError, -63.14), |
402 std::tr1::make_tuple(22050, 192000, kResamplingRMSError, -62.42), | 403 std::tr1::make_tuple(22050, 192000, kResamplingRMSError, -62.42), |
403 std::tr1::make_tuple(32000, 192000, kResamplingRMSError, -63.38), | 404 std::tr1::make_tuple(32000, 192000, kResamplingRMSError, -63.38), |
404 std::tr1::make_tuple(44100, 192000, kResamplingRMSError, -62.63), | 405 std::tr1::make_tuple(44100, 192000, kResamplingRMSError, -62.63), |
405 std::tr1::make_tuple(48000, 192000, kResamplingRMSError, -73.44), | 406 std::tr1::make_tuple(48000, 192000, kResamplingRMSError, -73.44), |
406 std::tr1::make_tuple(96000, 192000, kResamplingRMSError, -73.52), | 407 std::tr1::make_tuple(96000, 192000, kResamplingRMSError, -73.52), |
407 std::tr1::make_tuple(192000, 192000, kResamplingRMSError, -73.52))); | 408 std::tr1::make_tuple(192000, 192000, kResamplingRMSError, -73.52))); |
408 | 409 |
409 } // namespace media | 410 } // namespace media |
OLD | NEW |