Author: akhaldi
Date: Thu Jul 28 16:17:45 2011
New Revision: 52983
URL:
http://svn.reactos.org/svn/reactos?rev=52983&view=rev
Log:
[MMENT4]
* Add a PCH.
Added:
trunk/reactos/lib/drivers/sound/mment4/precomp.h (with props)
Modified:
trunk/reactos/lib/drivers/sound/mment4/CMakeLists.txt
trunk/reactos/lib/drivers/sound/mment4/control.c
trunk/reactos/lib/drivers/sound/mment4/detect.c
trunk/reactos/lib/drivers/sound/mment4/mment4.rbuild
trunk/reactos/lib/drivers/sound/mment4/registry.c
Modified: trunk/reactos/lib/drivers/sound/mment4/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mment4/C…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mment4/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mment4/CMakeLists.txt [iso-8859-1] Thu Jul 28 16:17:45
2011
@@ -11,4 +11,5 @@
control.c)
add_library(mment4 ${SOURCE})
+add_pch(mment4 precomp.h)
add_dependencies(mment4 psdk)
Modified: trunk/reactos/lib/drivers/sound/mment4/control.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mment4/c…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mment4/control.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mment4/control.c [iso-8859-1] Thu Jul 28 16:17:45
2011
@@ -9,14 +9,7 @@
*/
#define NDEBUG
-
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <sndtypes.h>
-#include <mmebuddy.h>
-#include <mment4.h>
+#include "precomp.h"
/*
Convenience routine for getting the path of a device and opening it.
Modified: trunk/reactos/lib/drivers/sound/mment4/detect.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mment4/d…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mment4/detect.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mment4/detect.c [iso-8859-1] Thu Jul 28 16:17:45 2011
@@ -11,15 +11,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)reactos.org)
*/
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-#include <sndnames.h>
-#include <sndtypes.h>
-
-#include <mmebuddy.h>
-#include <mment4.h>
+#include "precomp.h"
/*
This is the "nice" way to discover audio devices in NT4 - go into the
Modified: trunk/reactos/lib/drivers/sound/mment4/mment4.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mment4/m…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mment4/mment4.rbuild [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mment4/mment4.rbuild [iso-8859-1] Thu Jul 28 16:17:45
2011
@@ -5,5 +5,6 @@
<define name="DEBUG_NT4">1</define>
<file>detect.c</file>
<file>registry.c</file>
- <file>control.c</file>
+ <file>control.c</file>
+ <pch>precomp.h</pch>
</module>
Added: trunk/reactos/lib/drivers/sound/mment4/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mment4/p…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mment4/precomp.h (added)
+++ trunk/reactos/lib/drivers/sound/mment4/precomp.h [iso-8859-1] Thu Jul 28 16:17:45
2011
@@ -1,0 +1,8 @@
+#include <windows.h>
+#include <mmsystem.h>
+#include <mmddk.h>
+#include <ntddsnd.h>
+#include <sndnames.h>
+#include <sndtypes.h>
+#include <mmebuddy.h>
+#include <mment4.h>
Propchange: trunk/reactos/lib/drivers/sound/mment4/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/lib/drivers/sound/mment4/registry.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mment4/r…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mment4/registry.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mment4/registry.c [iso-8859-1] Thu Jul 28 16:17:45
2011
@@ -8,16 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade(a)reactos.org)
*/
-#include <windows.h>
-#include <mmsystem.h>
-#include <mmddk.h>
-#include <ntddsnd.h>
-
-#include <sndnames.h>
-#include <sndtypes.h>
-
-#include <mmebuddy.h>
-#include <mment4.h>
+#include "precomp.h"
/*
Open the parameters key of a sound driver.