Commit 2da25d9c authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

Added midi support to the ALSA driver.

parent b2b2c479
......@@ -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);
@ 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
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