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 #include <stddef.h> |
| 8 #include <stdint.h> |
7 | 9 |
8 #include "base/environment.h" | 10 #include "base/environment.h" |
9 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
11 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
12 #include "base/path_service.h" | 14 #include "base/path_service.h" |
13 #include "base/test/test_timeouts.h" | 15 #include "base/test/test_timeouts.h" |
14 #include "base/time/time.h" | 16 #include "base/time/time.h" |
15 #include "base/win/scoped_com_initializer.h" | 17 #include "base/win/scoped_com_initializer.h" |
16 #include "media/audio/audio_io.h" | 18 #include "media/audio/audio_io.h" |
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 | 620 |
619 aos->Start(&source); | 621 aos->Start(&source); |
620 loop.PostDelayedTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure(), | 622 loop.PostDelayedTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure(), |
621 TestTimeouts::action_timeout()); | 623 TestTimeouts::action_timeout()); |
622 loop.Run(); | 624 loop.Run(); |
623 aos->Stop(); | 625 aos->Stop(); |
624 aos->Close(); | 626 aos->Close(); |
625 } | 627 } |
626 | 628 |
627 } // namespace media | 629 } // namespace media |
OLD | NEW |