mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:23:07 +00:00
[MMEBUDDY]
* Add a PCH. svn path=/trunk/; revision=52982
This commit is contained in:
parent
5d6fa88775
commit
935598ba6f
21 changed files with 28 additions and 115 deletions
|
@ -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)
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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!
|
||||||
|
|
|
@ -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];
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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(
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
6
reactos/lib/drivers/sound/mmebuddy/precomp.h
Normal file
6
reactos/lib/drivers/sound/mmebuddy/precomp.h
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#include <windows.h>
|
||||||
|
#include <mmsystem.h>
|
||||||
|
#include <mmddk.h>
|
||||||
|
#include <ntddsnd.h>
|
||||||
|
#include <sndtypes.h>
|
||||||
|
#include <mmebuddy.h>
|
|
@ -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];
|
||||||
|
|
||||||
|
|
|
@ -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(
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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(
|
||||||
|
|
|
@ -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>
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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>
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue