version 1.22, 2010/04/06 20:07:01 |
version 1.23, 2010/10/21 18:57:42 |
|
|
|
|
#include <sys/queue.h> |
#include <sys/queue.h> |
|
|
#define XRUN_IGNORE 0 /* on xrun silently insert/discard samples */ |
|
#define XRUN_SYNC 1 /* catchup to sync to the mix/sub */ |
|
#define XRUN_ERROR 2 /* xruns are errors, eof/hup buffer */ |
|
#define MIDI_MSGMAX 16 /* max size of MIDI messaage */ |
|
|
|
struct aproc; |
struct aproc; |
struct aparams; |
struct aparams; |
|
|
|
|
unsigned used; /* bytes used from ``msg'' */ |
unsigned used; /* bytes used from ``msg'' */ |
unsigned idx; /* actual MIDI message size */ |
unsigned idx; /* actual MIDI message size */ |
unsigned len; /* MIDI message length */ |
unsigned len; /* MIDI message length */ |
|
#define MIDI_MSGMAX 16 /* max size of MIDI messaage */ |
unsigned char msg[MIDI_MSGMAX]; |
unsigned char msg[MIDI_MSGMAX]; |
} midi; |
} midi; |
} r; |
} r; |
|
|
} mix; |
} mix; |
struct { |
struct { |
unsigned done; /* frames copied */ |
unsigned done; /* frames copied */ |
unsigned xrun; /* overrun policy */ |
unsigned xrun; /* overrun policy, one of XRUN_XXX */ |
int silence; /* silence to add on next write */ |
int silence; /* silence to add on next write */ |
} sub; |
} sub; |
} w; |
} w; |