Author: janderwald
Date: Sun Jul 12 04:23:09 2009
New Revision: 41903
URL:
http://svn.reactos.org/svn/reactos?rev=41903&view=rev
Log:
[AUDIO_TEST]
- Fix build
Modified:
trunk/reactos/drivers/wdm/audio/backpln/audio_test/audio_test.c
Modified: trunk/reactos/drivers/wdm/audio/backpln/audio_test/audio_test.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/audio_test/audio_test.c [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/audio_test/audio_test.c [iso-8859-1] Sun Jul
12 04:23:09 2009
@@ -124,7 +124,7 @@
i++;
}
- DeviceInfo.State = KSSTATE_RUN;
+ DeviceInfo.u.State = KSSTATE_RUN;
Status = DeviceIoControl(hWdmAud, IOCTL_SETDEVICE_STATE, (LPVOID)&DeviceInfo,
sizeof(WDMAUD_DEVICE_INFO), &DeviceInfo, sizeof(WDMAUD_DEVICE_INFO),
&BytesReturned, &Overlapped);
if (!Status)
{
@@ -154,7 +154,7 @@
printf("WDMAUD: Played buffer\n");
- DeviceInfo.State = KSSTATE_STOP;
+ DeviceInfo.u.State = KSSTATE_STOP;
Status = DeviceIoControl(hWdmAud, IOCTL_SETDEVICE_STATE, (LPVOID)&DeviceInfo,
sizeof(WDMAUD_DEVICE_INFO), &DeviceInfo, sizeof(WDMAUD_DEVICE_INFO),
&BytesReturned, &Overlapped);
if (!Status)
{