[WDMAUD.DRV]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Wed, 23 Dec 2009 10:43:17 +0000 (10:43 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Wed, 23 Dec 2009 10:43:17 +0000 (10:43 +0000)
- Fix build

svn path=/trunk/; revision=44723

reactos/dll/win32/wdmaud.drv/wdmaud.c

index 15f6983..2cf107b 100644 (file)
@@ -134,10 +134,6 @@ DriverProc(
     {
         case DRV_LOAD :
         {
-#ifndef USE_MMIXER_LIB
-            HANDLE Handle;
-#endif
-
             SND_TRACE(L"DRV_LOAD\n");
 
             Result = InitEntrypointMutexes();
@@ -154,7 +150,7 @@ DriverProc(
 #else
             if (WdmAudOpenSoundDeviceByLegacy() != MMSYSERR_NOERROR)
             {
-                SND_ERR(L"Failed to open %s\n", KERNEL_DEVICE_NAME);
+                SND_ERR(L"Failed to open \\\\.\\wdmaud\n");
                 CleanupEntrypointMutexes();
 
                 //UnlistAllSoundDevices();