Author: rmessiant
Date: Sun Mar 13 21:28:51 2011
New Revision: 51042
URL:
http://svn.reactos.org/svn/reactos?rev=51042&view=rev
Log:
[WDMAUD.DRV]
- Correct function declaration of WdmAudOpenSoundDeviceByLegacy and remove a duplicate
(wut..). Should fix build.
Modified:
trunk/reactos/dll/win32/wdmaud.drv/legacy.c
trunk/reactos/dll/win32/wdmaud.drv/wdmaud.h
Modified: trunk/reactos/dll/win32/wdmaud.drv/legacy.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wdmaud.drv/legac…
==============================================================================
--- trunk/reactos/dll/win32/wdmaud.drv/legacy.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wdmaud.drv/legacy.c [iso-8859-1] Sun Mar 13 21:28:51 2011
@@ -250,7 +250,9 @@
}
MMRESULT
-WdmAudOpenSoundDeviceByLegacy()
+WdmAudOpenSoundDeviceByLegacy(
+ IN PSOUND_DEVICE SoundDevice,
+ OUT PVOID *Handle)
{
/* Only open this if it's not already open */
if ( KernelHandle == INVALID_HANDLE_VALUE )
Modified: trunk/reactos/dll/win32/wdmaud.drv/wdmaud.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wdmaud.drv/wdmau…
==============================================================================
--- trunk/reactos/dll/win32/wdmaud.drv/wdmaud.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wdmaud.drv/wdmaud.h [iso-8859-1] Sun Mar 13 21:28:51 2011
@@ -27,9 +27,6 @@
WdmAudGetMixerCount(VOID);
MMRESULT
-WdmAudOpenSoundDeviceByLegacy(VOID);
-
-MMRESULT
WdmAudGetNumWdmDevsByMMixer(
IN MMDEVICE_TYPE DeviceType,
OUT DWORD* DeviceCount);
@@ -165,7 +162,10 @@
IN DWORD CapabilitiesSize);
MMRESULT
-WdmAudOpenSoundDeviceByLegacy(VOID);
+WdmAudOpenSoundDeviceByLegacy(
+ IN PSOUND_DEVICE SoundDevice,
+ OUT PVOID *Handle
+);
MMRESULT
WdmAudCloseSoundDeviceByLegacy(