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 "media/audio/audio_io.h" | 5 #include "media/audio/audio_io.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <objbase.h> // This has to be before initguid.h | 8 #include <objbase.h> // This has to be before initguid.h |
9 #include <initguid.h> | 9 #include <initguid.h> |
10 #include <mmsystem.h> | 10 #include <mmsystem.h> |
11 #include <setupapi.h> | 11 #include <setupapi.h> |
| 12 #include <stddef.h> |
12 | 13 |
13 #include "base/bind.h" | 14 #include "base/bind.h" |
14 #include "base/bind_helpers.h" | 15 #include "base/bind_helpers.h" |
15 #include "base/command_line.h" | 16 #include "base/command_line.h" |
16 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
17 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
18 #include "base/message_loop/message_loop.h" | 19 #include "base/message_loop/message_loop.h" |
19 #include "base/metrics/histogram.h" | 20 #include "base/metrics/histogram.h" |
20 #include "base/path_service.h" | 21 #include "base/path_service.h" |
21 #include "base/process/launch.h" | 22 #include "base/process/launch.h" |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 return new PCMWaveInAudioInputStream(this, params, kNumInputBuffers, | 538 return new PCMWaveInAudioInputStream(this, params, kNumInputBuffers, |
538 xp_device_id); | 539 xp_device_id); |
539 } | 540 } |
540 | 541 |
541 /// static | 542 /// static |
542 AudioManager* CreateAudioManager(AudioLogFactory* audio_log_factory) { | 543 AudioManager* CreateAudioManager(AudioLogFactory* audio_log_factory) { |
543 return new AudioManagerWin(audio_log_factory); | 544 return new AudioManagerWin(audio_log_factory); |
544 } | 545 } |
545 | 546 |
546 } // namespace media | 547 } // namespace media |
OLD | NEW |