mirror of
https://github.com/reactos/reactos.git
synced 2024-09-02 16:48:36 +00:00
[AUDIO_TEST]
- Fix build svn path=/trunk/; revision=41903
This commit is contained in:
parent
56e5803f59
commit
4e2840db1d
|
@ -124,7 +124,7 @@ main(int argc, char* argv[])
|
|||
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 @@ main(int argc, char* argv[])
|
|||
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue