Author: janderwald
Date: Sun Jul 12 19:44:33 2009
New Revision: 41935
URL:
http://svn.reactos.org/svn/reactos?rev=41935&view=rev
Log:
[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
Modified:
trunk/reactos/drivers/wdm/audio/legacy/wdmaud/control.c
Modified: trunk/reactos/drivers/wdm/audio/legacy/wdmaud/control.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/legacy/w…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/legacy/wdmaud/control.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/legacy/wdmaud/control.c [iso-8859-1] Sun Jul 12
19:44:33 2009
@@ -375,14 +375,11 @@
}
}
-
- if (NT_SUCCESS(Status))
- DeviceInfo->DeviceCount = Result;
- else
- DeviceInfo->DeviceCount = 0;
+ /* store result count */
+ DeviceInfo->DeviceCount = Result;
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