* Add a PCH.
svn path=/trunk/; revision=52982
wave/streaming.c)
add_library(mmebuddy ${SOURCE})
+add_pch(mmebuddy precomp.h)
add_dependencies(mmebuddy psdk)
* 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.
* 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
* 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!
* 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];
* 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
* 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
* 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.
* 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.
* 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(
<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>
<directory name="auxiliary">
<file>auxMessage.c</file>
</directory>
+ <pch>precomp.h</pch>
</module>
* 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"
/*
--- /dev/null
+#include <windows.h>
+#include <mmsystem.h>
+#include <mmddk.h>
+#include <ntddsnd.h>
+#include <sndtypes.h>
+#include <mmebuddy.h>
* 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];
* 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(
* 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;
* 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(
* 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"
/*
* 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"
/*
* 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
* 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)