From 72feb0b2e28322077923c2690b216bf696799f31 Mon Sep 17 00:00:00 2001 From: "braveyao@webrtc.org" Date: Fri, 7 Dec 2012 22:36:07 +0000 Subject: [PATCH] Not to enum NOTPRESENT audio devices with CoreAudio on Win BUG = TEST = Manual test Review URL: https://webrtc-codereview.appspot.com/939037 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3251 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_device/win/audio_device_core_win.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/audio_device/win/audio_device_core_win.cc b/webrtc/modules/audio_device/win/audio_device_core_win.cc index 566cb69c13..8c61d10668 100644 --- a/webrtc/modules/audio_device/win/audio_device_core_win.cc +++ b/webrtc/modules/audio_device/win/audio_device_core_win.cc @@ -4915,7 +4915,7 @@ WebRtc_Word32 AudioDeviceWindowsCore::_EnumerateEndpointDevicesAll(EDataFlow dat // Output: IMMDeviceCollection interface. hr = _ptrEnumerator->EnumAudioEndpoints( dataFlow, // data-flow direction (input parameter) - DEVICE_STATE_ACTIVE | DEVICE_STATE_DISABLED | DEVICE_STATE_NOTPRESENT | DEVICE_STATE_UNPLUGGED, + DEVICE_STATE_ACTIVE | DEVICE_STATE_DISABLED | DEVICE_STATE_UNPLUGGED, &pCollection); // release interface when done EXIT_ON_ERROR(hr);