Added midi support to the ALSA driver.

oldstable
Christian Costa 2003-09-15 22:08:39 +00:00 committed by Alexandre Julliard
parent b2b2c4794b
commit 2da25d9c57
5 changed files with 1198 additions and 1 deletions

View File

@ -12,7 +12,8 @@ SYMBOLFILE = $(MODULE).tmp.o
C_SRCS = \
audio.c \
audio_05.c \
alsa.c
alsa.c \
midi.c
@MAKE_DLL_RULES@

View File

@ -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);

View File

@ -29,3 +29,4 @@
#endif
extern LONG ALSA_WaveInit(void);
extern LONG ALSA_MidiInit(void);

File diff suppressed because it is too large Load Diff

View File

@ -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