snd_midi_event
int snd_midi_event_new(int bufsize, struct snd_midi_event **rdev);
void snd_midi_event_free(struct snd_midi_event *dev);
void snd_midi_event_reset_encode(struct snd_midi_event *dev);
void snd_midi_event_reset_decode(struct snd_midi_event *dev);
void snd_midi_event_no_status(struct snd_midi_event *dev, int on);
bool snd_midi_event_encode_byte(struct snd_midi_event *dev, unsigned char c,
long snd_midi_event_decode(struct snd_midi_event *dev, unsigned char *buf, long count,
struct snd_midi_event *parser;
struct snd_midi_event *coder; /* MIDI event coder */
struct snd_midi_event *parser;
int snd_midi_event_new(int bufsize, struct snd_midi_event **rdev)
struct snd_midi_event *dev;
void snd_midi_event_free(struct snd_midi_event *dev)
static inline void reset_encode(struct snd_midi_event *dev)
void snd_midi_event_reset_encode(struct snd_midi_event *dev)
void snd_midi_event_reset_decode(struct snd_midi_event *dev)
void snd_midi_event_no_status(struct snd_midi_event *dev, int on)
bool snd_midi_event_encode_byte(struct snd_midi_event *dev, unsigned char c,
static void note_event(struct snd_midi_event *dev, struct snd_seq_event *ev)
static void one_param_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev)
static void pitchbend_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev)
static void two_param_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev)
static void one_param_event(struct snd_midi_event *dev, struct snd_seq_event *ev)
static void songpos_event(struct snd_midi_event *dev, struct snd_seq_event *ev)
long snd_midi_event_decode(struct snd_midi_event *dev, unsigned char *buf, long count,
static void note_event(struct snd_midi_event *dev, struct snd_seq_event *ev);
static void one_param_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev);
static void pitchbend_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev);
static void two_param_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev);
static void one_param_event(struct snd_midi_event *dev, struct snd_seq_event *ev);
static int extra_decode_ctrl14(struct snd_midi_event *dev, unsigned char *buf,
static void songpos_event(struct snd_midi_event *dev, struct snd_seq_event *ev);
static int extra_decode_xrpn(struct snd_midi_event *dev, unsigned char *buf,
void (*encode)(struct snd_midi_event *dev, struct snd_seq_event *ev);
static int extra_decode_ctrl14(struct snd_midi_event *dev, unsigned char *buf, int len,
static int extra_decode_xrpn(struct snd_midi_event *dev, unsigned char *buf, int count,
int (*decode)(struct snd_midi_event *dev, unsigned char *buf, int len,