Author: akhaldi
Date: Thu Jul 28 16:19:09 2011
New Revision: 52984
URL:
http://svn.reactos.org/svn/reactos?rev=52984&view=rev
Log:
[SOUNDBLASTER]
* Add a PCH.
Added:
trunk/reactos/lib/drivers/sound/soundblaster/precomp.h (with props)
Modified:
trunk/reactos/lib/drivers/sound/soundblaster/CMakeLists.txt
trunk/reactos/lib/drivers/sound/soundblaster/dsp_io.c
trunk/reactos/lib/drivers/sound/soundblaster/mixer.c
trunk/reactos/lib/drivers/sound/soundblaster/rate.c
trunk/reactos/lib/drivers/sound/soundblaster/soundblaster.rbuild
trunk/reactos/lib/drivers/sound/soundblaster/speaker.c
trunk/reactos/lib/drivers/sound/soundblaster/version.c
Modified: trunk/reactos/lib/drivers/sound/soundblaster/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/soundbla…
==============================================================================
--- trunk/reactos/lib/drivers/sound/soundblaster/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/soundblaster/CMakeLists.txt [iso-8859-1] Thu Jul 28
16:19:09 2011
@@ -13,4 +13,5 @@
mixer.c)
add_library(soundblaster ${SOURCE})
+add_pch(soundblaster precomp.h)
add_dependencies(soundblaster bugcodes)
Modified: trunk/reactos/lib/drivers/sound/soundblaster/dsp_io.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/soundbla…
==============================================================================
--- trunk/reactos/lib/drivers/sound/soundblaster/dsp_io.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/soundblaster/dsp_io.c [iso-8859-1] Thu Jul 28 16:19:09
2011
@@ -13,11 +13,7 @@
Functions documented in sbdsp.h
*/
-#include <ntddk.h>
-#include <debug.h>
-
-#include <time.h>
-#include <sbdsp.h>
+#include "precomp.h"
NTSTATUS
SbDspReset(
Modified: trunk/reactos/lib/drivers/sound/soundblaster/mixer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/soundbla…
==============================================================================
--- trunk/reactos/lib/drivers/sound/soundblaster/mixer.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/soundblaster/mixer.c [iso-8859-1] Thu Jul 28 16:19:09
2011
@@ -18,10 +18,7 @@
The I/O switches are used for muting/unmuting mic, etc.
*/
-#include <ntddk.h>
-#include <debug.h>
-
-#include <sbdsp.h>
+#include "precomp.h"
VOID
SbMixerReset(IN PUCHAR BasePort)
Added: trunk/reactos/lib/drivers/sound/soundblaster/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/soundbla…
==============================================================================
--- trunk/reactos/lib/drivers/sound/soundblaster/precomp.h (added)
+++ trunk/reactos/lib/drivers/sound/soundblaster/precomp.h [iso-8859-1] Thu Jul 28
16:19:09 2011
@@ -1,0 +1,4 @@
+#include <ntddk.h>
+#include <debug.h>
+#include <time.h>
+#include <sbdsp.h>
Propchange: trunk/reactos/lib/drivers/sound/soundblaster/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/lib/drivers/sound/soundblaster/rate.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/soundbla…
==============================================================================
--- trunk/reactos/lib/drivers/sound/soundblaster/rate.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/soundblaster/rate.c [iso-8859-1] Thu Jul 28 16:19:09
2011
@@ -13,10 +13,7 @@
Functions documented in sbdsp.h
*/
-#include <ntddk.h>
-#include <debug.h>
-
-#include <sbdsp.h>
+#include "precomp.h"
BOOLEAN
SbDspIsValidInputRate(
Modified: trunk/reactos/lib/drivers/sound/soundblaster/soundblaster.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/soundbla…
==============================================================================
--- trunk/reactos/lib/drivers/sound/soundblaster/soundblaster.rbuild [iso-8859-1]
(original)
+++ trunk/reactos/lib/drivers/sound/soundblaster/soundblaster.rbuild [iso-8859-1] Thu Jul
28 16:19:09 2011
@@ -10,4 +10,5 @@
<file>speaker.c</file>
<file>rate.c</file>
<file>mixer.c</file>
+ <pch>precomp.h</pch>
</module>
Modified: trunk/reactos/lib/drivers/sound/soundblaster/speaker.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/soundbla…
==============================================================================
--- trunk/reactos/lib/drivers/sound/soundblaster/speaker.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/soundblaster/speaker.c [iso-8859-1] Thu Jul 28
16:19:09 2011
@@ -13,10 +13,7 @@
Functions documented in sbdsp.h
*/
-#include <ntddk.h>
-#include <debug.h>
-
-#include <sbdsp.h>
+#include "precomp.h"
NTSTATUS
SbDspEnableSpeaker(
Modified: trunk/reactos/lib/drivers/sound/soundblaster/version.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/soundbla…
==============================================================================
--- trunk/reactos/lib/drivers/sound/soundblaster/version.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/soundblaster/version.c [iso-8859-1] Thu Jul 28
16:19:09 2011
@@ -13,10 +13,7 @@
Functions documented in sbdsp.h
*/
-#include <ntddk.h>
-#include <debug.h>
-
-#include <sbdsp.h>
+#include "precomp.h"
NTSTATUS
SbDspGetVersion(