[MMEBUDDY]
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 28 Jul 2011 16:17:04 +0000 (16:17 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 28 Jul 2011 16:17:04 +0000 (16:17 +0000)
* Add a PCH.

svn path=/trunk/; revision=52982

21 files changed:
reactos/lib/drivers/sound/mmebuddy/CMakeLists.txt
reactos/lib/drivers/sound/mmebuddy/auxiliary/auxMessage.c
reactos/lib/drivers/sound/mmebuddy/capabilities.c
reactos/lib/drivers/sound/mmebuddy/deviceinstance.c
reactos/lib/drivers/sound/mmebuddy/devicelist.c
reactos/lib/drivers/sound/mmebuddy/functiontable.c
reactos/lib/drivers/sound/mmebuddy/kernel.c
reactos/lib/drivers/sound/mmebuddy/midi/midMessage.c
reactos/lib/drivers/sound/mmebuddy/midi/modMessage.c
reactos/lib/drivers/sound/mmebuddy/mixer/mxdMessage.c
reactos/lib/drivers/sound/mmebuddy/mmebuddy.rbuild
reactos/lib/drivers/sound/mmebuddy/mmewrap.c
reactos/lib/drivers/sound/mmebuddy/precomp.h [new file with mode: 0644]
reactos/lib/drivers/sound/mmebuddy/reentrancy.c
reactos/lib/drivers/sound/mmebuddy/thread.c
reactos/lib/drivers/sound/mmebuddy/utility.c
reactos/lib/drivers/sound/mmebuddy/wave/format.c
reactos/lib/drivers/sound/mmebuddy/wave/header.c
reactos/lib/drivers/sound/mmebuddy/wave/streaming.c
reactos/lib/drivers/sound/mmebuddy/wave/widMessage.c
reactos/lib/drivers/sound/mmebuddy/wave/wodMessage.c

index 19af978..a4c04f2 100644 (file)
@@ -26,4 +26,5 @@ list(APPEND SOURCE
     wave/streaming.c)
 
 add_library(mmebuddy ${SOURCE})
+add_pch(mmebuddy precomp.h)
 add_dependencies(mmebuddy psdk)
index 9cfa0d9..6a164de 100644 (file)
@@ -9,14 +9,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-
-#include <ntddsnd.h>
-#include <sndtypes.h>
-
-#include <mmebuddy.h>
+#include "precomp.h"
 
 /*
     Standard MME driver entry-point for messages relating to auxiliary devices.
index edf7599..aa25707 100644 (file)
@@ -8,12 +8,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <sndtypes.h>
-#include <mmebuddy.h>
+#include "precomp.h"
 
 /*
     Obtains the capabilities of a sound device. This routine ensures that the
index 0558b2b..33f23e3 100644 (file)
@@ -8,10 +8,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <mmebuddy.h>
+#include "precomp.h"
 
 /*
     Restrain ourselves from flooding the kernel device!
index e4e4791..c200392 100644 (file)
@@ -8,12 +8,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <sndtypes.h>
-#include <mmebuddy.h>
+#include "precomp.h"
 
 ULONG           SoundDeviceCounts[SOUND_DEVICE_TYPES];
 PSOUND_DEVICE   SoundDeviceListHeads[SOUND_DEVICE_TYPES];
index 18d7d76..ce5b38b 100644 (file)
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <mmebuddy.h>
+#include "precomp.h"
 
 /*
     Attaches a function table to a sound device. Any NULL entries in this
index 62766b0..63b57a4 100644 (file)
@@ -9,11 +9,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <mmebuddy.h>
+#include "precomp.h"
 
 /*
     Wraps around CreateFile in order to provide a simpler interface tailored
index 95738d7..d9a9f9c 100644 (file)
@@ -9,14 +9,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-
-#include <ntddsnd.h>
-#include <sndtypes.h>
-
-#include <mmebuddy.h>
+#include "precomp.h"
 
 /*
     Standard MME driver entry-point for messages relating to MIDI input.
index d189b03..e6c0900 100644 (file)
@@ -9,14 +9,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-
-#include <ntddsnd.h>
-#include <sndtypes.h>
-
-#include <mmebuddy.h>
+#include "precomp.h"
 
 /*
     Standard MME driver entry-point for messages relating to MIDI output.
index 7652d9e..aa19699 100644 (file)
@@ -9,14 +9,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-
-#include <ntddsnd.h>
-#include <sndtypes.h>
-#undef NDEBUG
-#include <mmebuddy.h>
+#include "precomp.h"
 
 MMRESULT
 MmeGetLineInfo(
index bb10874..5c646a4 100644 (file)
@@ -7,11 +7,11 @@
        <file>devicelist.c</file>
        <file>deviceinstance.c</file>
        <file>functiontable.c</file>
-    <file>mmewrap.c</file>
+       <file>mmewrap.c</file>
        <file>reentrancy.c</file>
        <file>utility.c</file>
        <file>kernel.c</file>
-    <file>thread.c</file>
+       <file>thread.c</file>
        <directory name="wave">
                <file>widMessage.c</file>
                <file>wodMessage.c</file>
@@ -29,4 +29,5 @@
        <directory name="auxiliary">
                <file>auxMessage.c</file>
        </directory>
+       <pch>precomp.h</pch>
 </module>
index 5b65154..bf850d2 100644 (file)
@@ -8,12 +8,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <sndtypes.h>
-#include <mmebuddy.h>
+#include "precomp.h"
 
 
 /*
diff --git a/reactos/lib/drivers/sound/mmebuddy/precomp.h b/reactos/lib/drivers/sound/mmebuddy/precomp.h
new file mode 100644 (file)
index 0000000..c1fa03c
--- /dev/null
@@ -0,0 +1,6 @@
+#include <windows.h>
+#include <mmsystem.h>
+#include <mmddk.h>
+#include <ntddsnd.h>
+#include <sndtypes.h>
+#include <mmebuddy.h>
index 16ed1a1..8fc41bb 100644 (file)
@@ -8,12 +8,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <sndtypes.h>
-#include <mmebuddy.h>
+#include "precomp.h"
 
 HANDLE EntrypointMutexes[SOUND_DEVICE_TYPES];
 
index 625cf96..4847582 100644 (file)
@@ -8,11 +8,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <mmebuddy.h>
+#include "precomp.h"
 
 DWORD WINAPI
 SoundThreadMain(
index 0a53fdf..18c2d76 100644 (file)
@@ -8,11 +8,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-
-#include <mmebuddy.h>
+#include "precomp.h"
 
 static HANDLE ProcessHeapHandle = NULL;
 static UINT   CurrentAllocations = 0;
index 34541c4..b3076b7 100644 (file)
@@ -8,12 +8,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <sndtypes.h>
-#include <mmebuddy.h>
+#include "precomp.h"
 
 MMRESULT
 QueryWaveDeviceFormatSupport(
index 998edef..bb80270 100644 (file)
@@ -8,12 +8,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <mmebuddy.h>
-#include <sndtypes.h>
+#include "precomp.h"
 
 
 /*
index d892f2d..3a4cabc 100644 (file)
@@ -8,12 +8,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <mmebuddy.h>
-#include <sndtypes.h>
+#include "precomp.h"
 
 
 /*
index 6584d3d..81fd344 100644 (file)
@@ -9,14 +9,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-
-#include <ntddsnd.h>
-#include <sndtypes.h>
-
-#include <mmebuddy.h>
+#include "precomp.h"
 
 /*
     Standard MME driver entry-point for messages relating to wave audio
index a1202a8..e73bdf0 100644 (file)
@@ -9,14 +9,7 @@
  * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
 */
 
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-
-#include <ntddsnd.h>
-#include <sndtypes.h>
-
-#include <mmebuddy.h>
+#include "precomp.h"
 
 #if 0
 MMRESULT HelloWorld(PSOUND_DEVICE_INSTANCE Instance, PVOID String)