mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +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
1 changed files with 6 additions and 0 deletions
|
@ -412,6 +412,12 @@ SetWdmWaveDeviceFormat(
|
|||
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 */
|
||||
DeviceInfo.u.State = KSSTATE_RUN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue