Author: janderwald
Date: Tue Oct 6 11:54:10 2009
New Revision: 43313
URL:
http://svn.reactos.org/svn/reactos?rev=43313&view=rev
Log:
- Partly implement WIDM_ADDBUFFER
Modified:
trunk/reactos/lib/drivers/sound/mmebuddy/wave/widMessage.c
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/wave/widMessage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/wave/widMessage.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/wave/widMessage.c [iso-8859-1] Tue Oct 6
11:54:10 2009
@@ -47,6 +47,7 @@
case WIDM_GETDEVCAPS :
{
+
Result = MmeGetSoundDeviceCapabilities(WAVE_IN_DEVICE_TYPE,
DeviceId,
(PVOID) Parameter1,
@@ -89,6 +90,13 @@
Result = MmeResetWavePlayback(PrivateHandle);
break;
}
+
+ case WIDM_ADDBUFFER :
+ {
+ Result = MmeWriteWaveHeader(PrivateHandle, Parameter1);
+ break;
+ }
+
}
SND_TRACE(L"widMessage returning MMRESULT %d\n", Result);