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 |
| 8 #include <stddef.h> |
| 9 |
7 #include <cmath> | 10 #include <cmath> |
8 | 11 |
9 #include "base/bind.h" | 12 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
| 14 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.h" |
13 #include "base/synchronization/waitable_event.h" | 17 #include "base/synchronization/waitable_event.h" |
14 #include "base/threading/platform_thread.h" | 18 #include "base/threading/platform_thread.h" |
15 #include "media/base/audio_renderer_mixer.h" | 19 #include "media/base/audio_renderer_mixer.h" |
16 #include "media/base/audio_renderer_mixer_input.h" | 20 #include "media/base/audio_renderer_mixer_input.h" |
17 #include "media/base/fake_audio_render_callback.h" | 21 #include "media/base/fake_audio_render_callback.h" |
18 #include "media/base/mock_audio_renderer_sink.h" | 22 #include "media/base/mock_audio_renderer_sink.h" |
19 #include "testing/gmock/include/gmock/gmock.h" | 23 #include "testing/gmock/include/gmock/gmock.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 INSTANTIATE_TEST_CASE_P( | 550 INSTANTIATE_TEST_CASE_P( |
547 AudioRendererMixerBehavioralTest, | 551 AudioRendererMixerBehavioralTest, |
548 AudioRendererMixerBehavioralTest, | 552 AudioRendererMixerBehavioralTest, |
549 testing::ValuesIn(std::vector<AudioRendererMixerTestData>( | 553 testing::ValuesIn(std::vector<AudioRendererMixerTestData>( |
550 1, | 554 1, |
551 std::tr1::make_tuple(&kTestInputLower, | 555 std::tr1::make_tuple(&kTestInputLower, |
552 1, | 556 1, |
553 kTestInputLower, | 557 kTestInputLower, |
554 0.00000048)))); | 558 0.00000048)))); |
555 } // namespace media | 559 } // namespace media |
OLD | NEW |