Author: janderwald
Date: Thu Jun 24 11:18:16 2010
New Revision: 47842
URL:
http://svn.reactos.org/svn/reactos?rev=47842&view=rev
Log:
[WDMAUD.DRV]
- Fix initialization of mmixer library
Modified:
trunk/reactos/dll/win32/wdmaud.drv/mmixer.c
Modified: trunk/reactos/dll/win32/wdmaud.drv/mmixer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wdmaud.drv/mmixe…
==============================================================================
--- trunk/reactos/dll/win32/wdmaud.drv/mmixer.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wdmaud.drv/mmixer.c [iso-8859-1] Thu Jun 24 11:18:16 2010
@@ -282,7 +282,7 @@
HeapFree(GetProcessHeap(), 0, DetailData);
return MM_STATUS_NO_MEMORY;
}
-
+ DPRINT1("DeviceName %S\n", DetailData->DevicePath);
wcscpy(*DeviceName, DetailData->DevicePath);
HeapFree(GetProcessHeap(), 0, DetailData);
@@ -519,7 +519,10 @@
IN struct _SOUND_DEVICE* SoundDevice,
OUT PVOID* Handle)
{
- return WdmAudInitUserModeMixer();
+ if (WdmAudInitUserModeMixer())
+ return MMSYSERR_NOERROR;
+ else
+ return MMSYSERR_ERROR;
}
MMRESULT