mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[AUDIO_TEST]
- Fix build svn path=/trunk/; revision=41903
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user