mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 09:00:27 +00:00
[WDMAUD.DRV] Allow enumerating only present audio devices
- Avoid unnecessary enumerating audio-related device interfaces which are currently not present in the system. - Do this for MMixer routines, same as it's already done for Legacy ones.
This commit is contained in:
parent
ecf4001e6f
commit
ff7bf747bf
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ WdmAudInitUserModeMixer()
|
|||
DeviceHandle = SetupDiGetClassDevs(&CategoryGuid,
|
||||
NULL,
|
||||
NULL,
|
||||
DIGCF_DEVICEINTERFACE/* FIXME |DIGCF_PRESENT*/);
|
||||
DIGCF_DEVICEINTERFACE | DIGCF_PRESENT);
|
||||
|
||||
if (DeviceHandle == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue