OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef MEDIA_AUDIO_WIN_DEVICE_ENUMERATION_WIN_H_ |
| 6 #define MEDIA_AUDIO_WIN_DEVICE_ENUMERATION_WIN_H_ |
| 7 |
| 8 #include "media/audio/audio_device_name.h" |
| 9 |
| 10 // Returns a list of audio input device structures (name and unique device ID) |
| 11 // using the MMDevice API which is supported on Windows Vista and higher. |
| 12 // Example record in the output list: |
| 13 // - device_name: "Microphone (Realtek High Definition Audio)". |
| 14 // - unique_id: "{0.0.1.00000000}.{8db6020f-18e3-4f25-b6f5-7726c9122574}" |
| 15 // This method must be called from a COM thread using MTA. |
| 16 bool GetInputDeviceNamesWin(media::AudioDeviceNames* device_names); |
| 17 |
| 18 // Returns a list of audio input device structures (name and unique device ID) |
| 19 // using the WaveIn API which is supported on Windows XP and higher. |
| 20 // Example record in the output list: |
| 21 // - device_name: "Microphone (Realtek High Defini". |
| 22 // - unique_id: "Microphone (Realtek High Defini" (same as friendly name). |
| 23 bool GetInputDeviceNamesWinXP(media::AudioDeviceNames* device_names); |
| 24 |
| 25 #endif // MEDIA_AUDIO_WIN_DEVICE_ENUMERATION_WIN_H_ |
| 26 |
OLD | NEW |