winmm: Implement waveOut* on top of MMDevAPI.

This commit is contained in:
Andrew Eikum 2011-07-11 08:28:30 -05:00 committed by Alexandre Julliard
parent 901af51ea3
commit be158e48ad
4 changed files with 1982 additions and 46 deletions

View file

@ -1,7 +1,7 @@
EXTRADEFS = -D_WINMM_
MODULE = winmm.dll
IMPORTLIB = winmm
IMPORTS = user32 advapi32
IMPORTS = uuid user32 advapi32 ole32 msacm32
C_SRCS = \
driver.c \

File diff suppressed because it is too large Load diff

View file

@ -152,6 +152,8 @@ void TIME_MMTimeStop(void) DECLSPEC_HIDDEN;
MMRESULT WINMM_CheckCallback(DWORD_PTR dwCallback, DWORD fdwOpen, BOOL mixer);
BOOL WINMM_InitWaveform(void);
/* Global variables */
extern CRITICAL_SECTION WINMM_cs DECLSPEC_HIDDEN;
extern HINSTANCE hWinMM32Instance DECLSPEC_HIDDEN;

View file

@ -79,7 +79,7 @@ static BOOL WINMM_CreateIData(HINSTANCE hInstDLL)
{
hWinMM32Instance = hInstDLL;
psLastEvent = CreateEventW(NULL, TRUE, FALSE, NULL);
return TRUE;
return WINMM_InitWaveform();
}
/**************************************************************************