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
This commit is contained in:
parent
8e49b02f3d
commit
72feb0b2e2
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user