7
#include "alsa-symbols.h"
8
#include <alsa/asoundlib.h>
9
#include "../../include/soundcard.h"
10
#include "alsakernel.h"
12
#include "../../kernel/framework/include/midiparser.h"
14
extern int alib_verbose;
17
extern char alib_appname[64];
19
extern oss_sysinfo sysinfo;
21
#define dbg_printf if (alib_verbose>0)printf
22
#define dbg_printf0 if (alib_verbose>=0)printf
23
#define dbg_printf1 if (alib_verbose>=1)printf
24
#define dbg_printf2 if (alib_verbose>=2)printf
25
#define dbg_printf3 if (alib_verbose>=3)printf
27
extern int alib_initialized;
29
extern int init_alib (void);
34
if (!alib_initialized) \
35
if ((init_err=alib_init())<0) \
45
extern int alib_appcheck (void);
47
struct _snd_seq_port_info
58
struct _snd_seq_client_info
64
/* Size of the local event buffer */
65
#define MAX_EVENTS 128
74
midiparser_common_t *parser;
76
snd_seq_event_t events[MAX_EVENTS];
77
int nevents, nextevent;
80
struct _snd_rawmidi_info
85
struct _snd_seq_queue_status
90
struct _snd_seq_queue_timer
95
extern int convert_event (snd_seq_t * seq, snd_seq_event_t * ev);
96
extern void midiparser_callback (void *context, int category,
97
unsigned char msg, unsigned char ch,
98
unsigned char *parms, int len);
100
#define _IOT__IOTBASE_oss_longname_t _IOT (0, 0, 0, 0, 0, 0)
101
#define _IOT__IOTBASE_audio_buf_info _IOT (0, 0, 0, 0, 0, 0)
102
#define _IOT__IOTBASE_oss_sysinfo _IOT (0, 0, 0, 0, 0, 0)
103
#define _IOT__IOTBASE_oss_mixext _IOT (0, 0, 0, 0, 0, 0)
104
#define _IOT__IOTBASE_oss_mixer_value _IOT (0, 0, 0, 0, 0, 0)
105
#define _IOT__IOTBASE_oss_audioinfo _IOT (0, 0, 0, 0, 0, 0)
106
#define _IOT__IOTBASE_oss_mixerinfo _IOT (0, 0, 0, 0, 0, 0)
107
#define _IOT__IOTBASE_oss_card_info _IOT (0, 0, 0, 0, 0, 0)