[MMEBUDDY]

* Add a PCH.

svn path=/trunk/; revision=52982
This commit is contained in:
Amine Khaldi 2011-07-28 16:17:04 +00:00
parent 5d6fa88775
commit 935598ba6f
21 changed files with 28 additions and 115 deletions

View file

@ -26,4 +26,5 @@ list(APPEND SOURCE
wave/streaming.c) wave/streaming.c)
add_library(mmebuddy ${SOURCE}) add_library(mmebuddy ${SOURCE})
add_pch(mmebuddy precomp.h)
add_dependencies(mmebuddy psdk) add_dependencies(mmebuddy psdk)

View file

@ -9,14 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <sndtypes.h>
#include <mmebuddy.h>
/* /*
Standard MME driver entry-point for messages relating to auxiliary devices. Standard MME driver entry-point for messages relating to auxiliary devices.

View file

@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <sndtypes.h>
#include <mmebuddy.h>
/* /*
Obtains the capabilities of a sound device. This routine ensures that the Obtains the capabilities of a sound device. This routine ensures that the

View file

@ -8,10 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <mmebuddy.h>
/* /*
Restrain ourselves from flooding the kernel device! Restrain ourselves from flooding the kernel device!

View file

@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <sndtypes.h>
#include <mmebuddy.h>
ULONG SoundDeviceCounts[SOUND_DEVICE_TYPES]; ULONG SoundDeviceCounts[SOUND_DEVICE_TYPES];
PSOUND_DEVICE SoundDeviceListHeads[SOUND_DEVICE_TYPES]; PSOUND_DEVICE SoundDeviceListHeads[SOUND_DEVICE_TYPES];

View file

@ -10,10 +10,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <mmebuddy.h>
/* /*
Attaches a function table to a sound device. Any NULL entries in this Attaches a function table to a sound device. Any NULL entries in this

View file

@ -9,11 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <mmebuddy.h>
/* /*
Wraps around CreateFile in order to provide a simpler interface tailored Wraps around CreateFile in order to provide a simpler interface tailored

View file

@ -9,14 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <sndtypes.h>
#include <mmebuddy.h>
/* /*
Standard MME driver entry-point for messages relating to MIDI input. Standard MME driver entry-point for messages relating to MIDI input.

View file

@ -9,14 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <sndtypes.h>
#include <mmebuddy.h>
/* /*
Standard MME driver entry-point for messages relating to MIDI output. Standard MME driver entry-point for messages relating to MIDI output.

View file

@ -9,14 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <sndtypes.h>
#undef NDEBUG
#include <mmebuddy.h>
MMRESULT MMRESULT
MmeGetLineInfo( MmeGetLineInfo(

View file

@ -7,11 +7,11 @@
<file>devicelist.c</file> <file>devicelist.c</file>
<file>deviceinstance.c</file> <file>deviceinstance.c</file>
<file>functiontable.c</file> <file>functiontable.c</file>
<file>mmewrap.c</file> <file>mmewrap.c</file>
<file>reentrancy.c</file> <file>reentrancy.c</file>
<file>utility.c</file> <file>utility.c</file>
<file>kernel.c</file> <file>kernel.c</file>
<file>thread.c</file> <file>thread.c</file>
<directory name="wave"> <directory name="wave">
<file>widMessage.c</file> <file>widMessage.c</file>
<file>wodMessage.c</file> <file>wodMessage.c</file>
@ -29,4 +29,5 @@
<directory name="auxiliary"> <directory name="auxiliary">
<file>auxMessage.c</file> <file>auxMessage.c</file>
</directory> </directory>
<pch>precomp.h</pch>
</module> </module>

View file

@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <sndtypes.h>
#include <mmebuddy.h>
/* /*

View file

@ -0,0 +1,6 @@
#include <windows.h>
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <sndtypes.h>
#include <mmebuddy.h>

View file

@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <sndtypes.h>
#include <mmebuddy.h>
HANDLE EntrypointMutexes[SOUND_DEVICE_TYPES]; HANDLE EntrypointMutexes[SOUND_DEVICE_TYPES];

View file

@ -8,11 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <mmebuddy.h>
DWORD WINAPI DWORD WINAPI
SoundThreadMain( SoundThreadMain(

View file

@ -8,11 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <mmebuddy.h>
static HANDLE ProcessHeapHandle = NULL; static HANDLE ProcessHeapHandle = NULL;
static UINT CurrentAllocations = 0; static UINT CurrentAllocations = 0;

View file

@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <sndtypes.h>
#include <mmebuddy.h>
MMRESULT MMRESULT
QueryWaveDeviceFormatSupport( QueryWaveDeviceFormatSupport(

View file

@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <mmebuddy.h>
#include <sndtypes.h>
/* /*

View file

@ -8,12 +8,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <mmebuddy.h>
#include <sndtypes.h>
/* /*

View file

@ -9,14 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <sndtypes.h>
#include <mmebuddy.h>
/* /*
Standard MME driver entry-point for messages relating to wave audio Standard MME driver entry-point for messages relating to wave audio

View file

@ -9,14 +9,7 @@
* PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org) * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
*/ */
#include <windows.h> #include "precomp.h"
#include <mmsystem.h>
#include <mmddk.h>
#include <ntddsnd.h>
#include <sndtypes.h>
#include <mmebuddy.h>
#if 0 #if 0
MMRESULT HelloWorld(PSOUND_DEVICE_INSTANCE Instance, PVOID String) MMRESULT HelloWorld(PSOUND_DEVICE_INSTANCE Instance, PVOID String)