mirror of
https://github.com/reactos/reactos.git
synced 2024-07-29 15:49:03 +00:00
[WDMAUD.DR>V]
- Use default of 100 audio buffers if there are no prefered frame size available svn path=/trunk/; revision=43406
This commit is contained in:
parent
c41c8bf584
commit
3c2e2137ce
|
@ -412,6 +412,12 @@ SetWdmWaveDeviceFormat(
|
||||||
SND_TRACE(L"FrameSize %u BufferCount %u\n", Instance->FrameSize, Instance->BufferCount);
|
SND_TRACE(L"FrameSize %u BufferCount %u\n", Instance->FrameSize, Instance->BufferCount);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// use a default of 100 buffers
|
||||||
|
Instance->BufferCount = 100;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Now start the stream */
|
/* Now start the stream */
|
||||||
DeviceInfo.u.State = KSSTATE_RUN;
|
DeviceInfo.u.State = KSSTATE_RUN;
|
||||||
|
|
Loading…
Reference in a new issue