Author: janderwald
Date: Mon Oct 12 18:58:46 2009
New Revision: 43406
URL:
http://svn.reactos.org/svn/reactos?rev=43406&view=rev
Log:
[WDMAUD.DR>V]
- Use default of 100 audio buffers if there are no prefered frame size available
Modified:
trunk/reactos/dll/win32/wdmaud.drv/wdmaud.c
Modified: trunk/reactos/dll/win32/wdmaud.drv/wdmaud.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wdmaud.drv/wdmau…
==============================================================================
--- trunk/reactos/dll/win32/wdmaud.drv/wdmaud.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wdmaud.drv/wdmaud.c [iso-8859-1] Mon Oct 12 18:58:46 2009
@@ -412,6 +412,12 @@
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;