mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:32:59 +00:00
[WDMAUD_KERNEL]
-? Hey Arch, don't be so picky when something goes wrong. - Fix enumeration of wave out / in devices for Vmware adapter - Playback still hangs svn path=/trunk/; revision=41935
This commit is contained in:
parent
0067e2c1a5
commit
6d29129c8f
1 changed files with 3 additions and 6 deletions
|
@ -375,14 +375,11 @@ WdmAudControlDeviceType(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* store result count */
|
||||||
if (NT_SUCCESS(Status))
|
DeviceInfo->DeviceCount = Result;
|
||||||
DeviceInfo->DeviceCount = Result;
|
|
||||||
else
|
|
||||||
DeviceInfo->DeviceCount = 0;
|
|
||||||
|
|
||||||
DPRINT1("WdmAudControlDeviceType Status %x Devices %u\n", Status, DeviceInfo->DeviceCount);
|
DPRINT1("WdmAudControlDeviceType Status %x Devices %u\n", Status, DeviceInfo->DeviceCount);
|
||||||
return SetIrpIoStatus(Irp, Status, sizeof(WDMAUD_DEVICE_INFO));
|
return SetIrpIoStatus(Irp, STATUS_SUCCESS, sizeof(WDMAUD_DEVICE_INFO));
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue