Author: akhaldi
Date: Thu Jul 28 16:17:04 2011
New Revision: 52982
URL:
http://svn.reactos.org/svn/reactos?rev=52982&view=rev
Log:
[MMEBUDDY]
* Add a PCH.
Added:
trunk/reactos/lib/drivers/sound/mmebuddy/precomp.h (with props)
Modified:
trunk/reactos/lib/drivers/sound/mmebuddy/CMakeLists.txt
trunk/reactos/lib/drivers/sound/mmebuddy/auxiliary/auxMessage.c
trunk/reactos/lib/drivers/sound/mmebuddy/capabilities.c
trunk/reactos/lib/drivers/sound/mmebuddy/deviceinstance.c
trunk/reactos/lib/drivers/sound/mmebuddy/devicelist.c
trunk/reactos/lib/drivers/sound/mmebuddy/functiontable.c
trunk/reactos/lib/drivers/sound/mmebuddy/kernel.c
trunk/reactos/lib/drivers/sound/mmebuddy/midi/midMessage.c
trunk/reactos/lib/drivers/sound/mmebuddy/midi/modMessage.c
trunk/reactos/lib/drivers/sound/mmebuddy/mixer/mxdMessage.c
trunk/reactos/lib/drivers/sound/mmebuddy/mmebuddy.rbuild
trunk/reactos/lib/drivers/sound/mmebuddy/mmewrap.c
trunk/reactos/lib/drivers/sound/mmebuddy/reentrancy.c
trunk/reactos/lib/drivers/sound/mmebuddy/thread.c
trunk/reactos/lib/drivers/sound/mmebuddy/utility.c
trunk/reactos/lib/drivers/sound/mmebuddy/wave/format.c
trunk/reactos/lib/drivers/sound/mmebuddy/wave/header.c
trunk/reactos/lib/drivers/sound/mmebuddy/wave/streaming.c
trunk/reactos/lib/drivers/sound/mmebuddy/wave/widMessage.c
trunk/reactos/lib/drivers/sound/mmebuddy/wave/wodMessage.c
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/CMakeLists.txt [iso-8859-1] Thu Jul 28
16:17:04 2011
@@ -26,4 +26,5 @@
wave/streaming.c)
add_library(mmebuddy ${SOURCE})
+add_pch(mmebuddy precomp.h)
add_dependencies(mmebuddy psdk)
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/auxiliary/auxMessage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/auxiliary/auxMessage.c [iso-8859-1]
(original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/auxiliary/auxMessage.c [iso-8859-1] Thu Jul
28 16:17:04 2011
@@ -9,14 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)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.
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/capabilities.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/capabilities.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/capabilities.c [iso-8859-1] Thu Jul 28
16:17:04 2011
@@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)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
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/deviceinstance.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/deviceinstance.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/deviceinstance.c [iso-8859-1] Thu Jul 28
16:17:04 2011
@@ -8,10 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)reactos.org)
*/
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <mmebuddy.h>
+#include "precomp.h"
/*
Restrain ourselves from flooding the kernel device!
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/devicelist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/devicelist.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/devicelist.c [iso-8859-1] Thu Jul 28 16:17:04
2011
@@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)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];
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/functiontable.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/functiontable.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/functiontable.c [iso-8859-1] Thu Jul 28
16:17:04 2011
@@ -10,10 +10,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)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
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/kernel.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/kernel.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/kernel.c [iso-8859-1] Thu Jul 28 16:17:04
2011
@@ -9,11 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)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
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/midi/midMessage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/midi/midMessage.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/midi/midMessage.c [iso-8859-1] Thu Jul 28
16:17:04 2011
@@ -9,14 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)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.
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/midi/modMessage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/midi/modMessage.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/midi/modMessage.c [iso-8859-1] Thu Jul 28
16:17:04 2011
@@ -9,14 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)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.
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/mixer/mxdMessage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/mixer/mxdMessage.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/mixer/mxdMessage.c [iso-8859-1] Thu Jul 28
16:17:04 2011
@@ -9,14 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)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(
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/mmebuddy.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/mmebuddy.rbuild [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/mmebuddy.rbuild [iso-8859-1] Thu Jul 28
16:17:04 2011
@@ -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>
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/mmewrap.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/mmewrap.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/mmewrap.c [iso-8859-1] Thu Jul 28 16:17:04
2011
@@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)reactos.org)
*/
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <sndtypes.h>
-#include <mmebuddy.h>
+#include "precomp.h"
/*
Added: trunk/reactos/lib/drivers/sound/mmebuddy/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/precomp.h (added)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/precomp.h [iso-8859-1] Thu Jul 28 16:17:04
2011
@@ -1,0 +1,6 @@
+#include <windows.h>
+#include <mmsystem.h>
+#include <mmddk.h>
+#include <ntddsnd.h>
+#include <sndtypes.h>
+#include <mmebuddy.h>
Propchange: trunk/reactos/lib/drivers/sound/mmebuddy/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/reentrancy.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/reentrancy.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/reentrancy.c [iso-8859-1] Thu Jul 28 16:17:04
2011
@@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)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];
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/thread.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/thread.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/thread.c [iso-8859-1] Thu Jul 28 16:17:04
2011
@@ -8,11 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)reactos.org)
*/
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <mmebuddy.h>
+#include "precomp.h"
DWORD WINAPI
SoundThreadMain(
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/utility.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/utility.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/utility.c [iso-8859-1] Thu Jul 28 16:17:04
2011
@@ -8,11 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)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;
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/wave/format.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/wave/format.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/wave/format.c [iso-8859-1] Thu Jul 28
16:17:04 2011
@@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)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(
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/wave/header.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/wave/header.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/wave/header.c [iso-8859-1] Thu Jul 28
16:17:04 2011
@@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)reactos.org)
*/
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <mmebuddy.h>
-#include <sndtypes.h>
+#include "precomp.h"
/*
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/wave/streaming.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/wave/streaming.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/wave/streaming.c [iso-8859-1] Thu Jul 28
16:17:04 2011
@@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)reactos.org)
*/
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <mmebuddy.h>
-#include <sndtypes.h>
+#include "precomp.h"
/*
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/wave/widMessage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/wave/widMessage.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/wave/widMessage.c [iso-8859-1] Thu Jul 28
16:17:04 2011
@@ -9,14 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)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
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/wave/wodMessage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/wave/wodMessage.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/wave/wodMessage.c [iso-8859-1] Thu Jul 28
16:17:04 2011
@@ -9,14 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)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)