mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
winmm: Implement waveOut* on top of MMDevAPI.
This commit is contained in:
parent
901af51ea3
commit
be158e48ad
4 changed files with 1982 additions and 46 deletions
|
@ -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
|
@ -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();
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
|
|
Loading…
Reference in a new issue