mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
Added midi support to the ALSA driver.
This commit is contained in:
parent
b2b2c4794b
commit
2da25d9c57
@ -12,7 +12,8 @@ SYMBOLFILE = $(MODULE).tmp.o
|
||||
C_SRCS = \
|
||||
audio.c \
|
||||
audio_05.c \
|
||||
alsa.c
|
||||
alsa.c \
|
||||
midi.c
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
|
@ -74,6 +74,7 @@ LONG CALLBACK ALSA_DriverProc(DWORD dwDevID, HDRVR hDriv, DWORD wMsg,
|
||||
switch(wMsg) {
|
||||
#ifdef HAVE_ALSA
|
||||
case DRV_LOAD: ALSA_WaveInit();
|
||||
ALSA_MidiInit();
|
||||
return 1;
|
||||
case DRV_FREE: return 1;
|
||||
case DRV_OPEN: return ALSA_drvOpen((LPSTR)dwParam1);
|
||||
|
@ -29,3 +29,4 @@
|
||||
#endif
|
||||
|
||||
extern LONG ALSA_WaveInit(void);
|
||||
extern LONG ALSA_MidiInit(void);
|
||||
|
1192
dlls/winmm/winealsa/midi.c
Normal file
1192
dlls/winmm/winealsa/midi.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,2 +1,4 @@
|
||||
@ stdcall DriverProc(long long long long long) ALSA_DriverProc
|
||||
@ stdcall wodMessage(long long long long long) ALSA_wodMessage
|
||||
@ stdcall midMessage(long long long long long) ALSA_midMessage
|
||||
@ stdcall modMessage(long long long long long) ALSA_modMessage
|
||||
|
Loading…
Reference in New Issue
Block a user