mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 05:58:13 +00:00
[AUDIO_TEST]
- Fix build svn path=/trunk/; revision=41903
This commit is contained in:
parent
56e5803f59
commit
4e2840db1d
1 changed files with 2 additions and 2 deletions
|
@ -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