| 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 <windows.h> | 5 #include <windows.h> |
| 6 #include <mmsystem.h> | 6 #include <mmsystem.h> |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
| 10 #include "base/memory/aligned_memory.h" | 10 #include "base/memory/aligned_memory.h" |
| 11 #include "base/path_service.h" | |
| 12 #include "base/sync_socket.h" | 11 #include "base/sync_socket.h" |
| 13 #include "base/win/scoped_com_initializer.h" | 12 #include "base/win/scoped_com_initializer.h" |
| 14 #include "base/win/windows_version.h" | 13 #include "base/win/windows_version.h" |
| 15 #include "media/base/limits.h" | 14 #include "media/base/limits.h" |
| 16 #include "media/audio/audio_io.h" | 15 #include "media/audio/audio_io.h" |
| 17 #include "media/audio/audio_manager.h" | 16 #include "media/audio/audio_manager.h" |
| 18 #include "media/audio/mock_audio_source_callback.h" | 17 #include "media/audio/mock_audio_source_callback.h" |
| 19 #include "media/audio/simple_sources.h" | 18 #include "media/audio/simple_sources.h" |
| 20 #include "testing/gmock/include/gmock/gmock.h" | 19 #include "testing/gmock/include/gmock/gmock.h" |
| 21 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 667 oas->Start(&source); | 666 oas->Start(&source); |
| 668 | 667 |
| 669 ::WaitForSingleObject(thread, INFINITE); | 668 ::WaitForSingleObject(thread, INFINITE); |
| 670 ::CloseHandle(thread); | 669 ::CloseHandle(thread); |
| 671 | 670 |
| 672 oas->Stop(); | 671 oas->Stop(); |
| 673 oas->Close(); | 672 oas->Close(); |
| 674 } | 673 } |
| 675 | 674 |
| 676 } // namespace media | 675 } // namespace media |
| OLD | NEW |