Commit be158e48 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

winmm: Implement waveOut* on top of MMDevAPI.

parent 901af51e
EXTRADEFS = -D_WINMM_
MODULE = winmm.dll
IMPORTLIB = winmm
IMPORTS = user32 advapi32
IMPORTS = uuid user32 advapi32 ole32 msacm32
C_SRCS = \
driver.c \
......
......@@ -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;
......
......@@ -79,7 +79,7 @@ static BOOL WINMM_CreateIData(HINSTANCE hInstDLL)
{
hWinMM32Instance = hInstDLL;
psLastEvent = CreateEventW(NULL, TRUE, FALSE, NULL);
return TRUE;
return WINMM_InitWaveform();
}
/**************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment