[MMENT4]
[reactos.git] / reactos / lib / drivers / sound / mment4 / control.c
index 6289187..7d8b437 100644 (file)
@@ -8,6 +8,8 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
+#define NDEBUG
+
 #include <windows.h>
 #include <mmsystem.h>
 #include <mmddk.h>
@@ -99,7 +101,7 @@ GetNt4SoundDeviceCapabilities(
     Result = GetSoundDeviceType(SoundDevice, &DeviceType);
     SND_ASSERT( Result == MMSYSERR_NOERROR );
 
-    if ( ! MMSUCCESS(Result) );
+    if ( ! MMSUCCESS(Result) )
         return TranslateInternalMmResult(Result);
 
     /* Choose the appropriate IOCTL */
@@ -198,6 +200,7 @@ QueryNt4WaveDeviceFormatSupport(
 MMRESULT
 SetNt4WaveDeviceFormat(
     IN  PSOUND_DEVICE_INSTANCE SoundDeviceInstance,
+    IN  DWORD DeviceId,
     IN  LPWAVEFORMATEX Format,
     IN  DWORD FormatSize)
 {