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 #include <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
| 8 #include "base/memory/shared_memory.h" |
8 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
9 #include "base/process_util.h" | 10 #include "base/process_util.h" |
10 #include "base/shared_memory.h" | |
11 #include "base/sync_socket.h" | 11 #include "base/sync_socket.h" |
12 #include "base/test/test_timeouts.h" | 12 #include "base/test/test_timeouts.h" |
13 #include "media/audio/audio_output_device.h" | 13 #include "media/audio/audio_output_device.h" |
14 #include "media/audio/sample_rates.h" | 14 #include "media/audio/sample_rates.h" |
15 #include "media/audio/shared_memory_util.h" | 15 #include "media/audio/shared_memory_util.h" |
16 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
17 #include "testing/gmock_mutant.h" | 17 #include "testing/gmock_mutant.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
19 | 19 |
20 using base::CancelableSyncSocket; | 20 using base::CancelableSyncSocket; |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 ExpectRenderCallback(); | 285 ExpectRenderCallback(); |
286 CreateStream(); | 286 CreateStream(); |
287 WaitUntilRenderCallback(); | 287 WaitUntilRenderCallback(); |
288 StopAudioDevice(); | 288 StopAudioDevice(); |
289 } | 289 } |
290 | 290 |
291 INSTANTIATE_TEST_CASE_P(Render, AudioOutputDeviceTest, Values(false)); | 291 INSTANTIATE_TEST_CASE_P(Render, AudioOutputDeviceTest, Values(false)); |
292 INSTANTIATE_TEST_CASE_P(RenderIO, AudioOutputDeviceTest, Values(true)); | 292 INSTANTIATE_TEST_CASE_P(RenderIO, AudioOutputDeviceTest, Values(true)); |
293 | 293 |
294 } // namespace media. | 294 } // namespace media. |
OLD | NEW |