/third_party/alsa-lib/src/seq/ |
D | seq_midi_event.c | 57 typedef void (*event_encode_t)(snd_midi_event_t *dev, snd_seq_event_t *ev); 58 typedef void (*event_decode_t)(const snd_seq_event_t *ev, unsigned char *buf); 65 static void note_event(snd_midi_event_t *dev, snd_seq_event_t *ev); 66 static void one_param_ctrl_event(snd_midi_event_t *dev, snd_seq_event_t *ev); 67 static void pitchbend_ctrl_event(snd_midi_event_t *dev, snd_seq_event_t *ev); 68 static void two_param_ctrl_event(snd_midi_event_t *dev, snd_seq_event_t *ev); 69 static void one_param_event(snd_midi_event_t *dev, snd_seq_event_t *ev); 70 static void songpos_event(snd_midi_event_t *dev, snd_seq_event_t *ev); 71 static void note_decode(const snd_seq_event_t *ev, unsigned char *buf); 72 static void one_param_decode(const snd_seq_event_t *ev, unsigned char *buf); [all …]
|
D | seq.c | 1222 return seq->ibufsize * sizeof(snd_seq_event_t); in snd_seq_get_input_buffer_size() 1238 assert(size >= sizeof(snd_seq_event_t)); in snd_seq_set_output_buffer_size() 1265 assert(size >= sizeof(snd_seq_event_t)); in snd_seq_set_input_buffer_size() 1267 size = (size + sizeof(snd_seq_event_t) - 1) / sizeof(snd_seq_event_t); in snd_seq_set_input_buffer_size() 1269 snd_seq_event_t *newbuf; in snd_seq_set_input_buffer_size() 1270 newbuf = calloc(sizeof(snd_seq_event_t), size); in snd_seq_set_input_buffer_size() 3845 snd_seq_event_t *snd_seq_create_event(void) in snd_seq_create_event() 3847 return (snd_seq_event_t *) calloc(1, sizeof(snd_seq_event_t)); in snd_seq_create_event() 3860 int snd_seq_free_event(snd_seq_event_t *ev ATTRIBUTE_UNUSED) in snd_seq_free_event() 3862 int snd_seq_free_event(snd_seq_event_t *ev) in snd_seq_free_event() [all …]
|
D | seq_local.h | 87 snd_seq_event_t *ibuf; /* input buffer */ 91 snd_seq_event_t *tmpbuf; /* temporary event for extracted event */
|
D | seqmid.c | 48 int snd_seq_control_queue(snd_seq_t *seq, int q, int type, int value, snd_seq_event_t *ev) in snd_seq_control_queue() 50 snd_seq_event_t tmpev; in snd_seq_control_queue()
|
D | seq_hw.c | 503 …seq->ibuf = (snd_seq_event_t *) calloc(sizeof(snd_seq_event_t), seq->ibufsize = SND_SEQ_IBUF_SIZE); in snd_seq_hw_open()
|
/third_party/alsa-lib/test/ |
D | playmidi1.c | 106 static void write_ev(snd_seq_event_t *ev) in write_ev() 203 static void set_event_time(snd_seq_event_t *ev, unsigned int currtime) in set_event_time() 220 static void set_event_header(snd_seq_event_t *ev) in set_event_header() 237 snd_seq_event_t ev; in alsa_stop_timer() 245 snd_seq_event_t ev; in do_tempo() 265 snd_seq_event_t ev; in do_noteon() 277 snd_seq_event_t ev; in do_noteoff() 289 snd_seq_event_t ev; in do_program() 301 snd_seq_event_t ev; in do_parameter() 313 snd_seq_event_t ev; in do_pitchbend() [all …]
|
D | seq-decoder.c | 105 int decode_event(snd_seq_event_t * ev) in decode_event() 175 unsigned char *sysex = (unsigned char *) ev + sizeof(snd_seq_event_t); in decode_event() 239 return sizeof(snd_seq_event_t); in decode_event() 242 return sizeof(snd_seq_event_t) + ev->data.ext.len; in decode_event() 262 snd_seq_event_t *ev; in event_decoder()
|
D | seq-sender.c | 114 snd_seq_event_t ev; in send_event() 145 snd_seq_event_t *ev; in event_sender()
|
/third_party/alsa-lib/include/ |
D | seq_midi_event.h | 53 …idi_event_encode(snd_midi_event_t *dev, const unsigned char *buf, long count, snd_seq_event_t *ev); 54 int snd_midi_event_encode_byte(snd_midi_event_t *dev, int c, snd_seq_event_t *ev); 56 …idi_event_decode(snd_midi_event_t *dev, unsigned char *buf, long count, const snd_seq_event_t *ev);
|
D | seq.h | 519 int snd_seq_free_event(snd_seq_event_t *ev); 520 ssize_t snd_seq_event_length(snd_seq_event_t *ev); 521 int snd_seq_event_output(snd_seq_t *handle, snd_seq_event_t *ev); 522 int snd_seq_event_output_buffer(snd_seq_t *handle, snd_seq_event_t *ev); 523 int snd_seq_event_output_direct(snd_seq_t *handle, snd_seq_event_t *ev); 524 int snd_seq_event_input(snd_seq_t *handle, snd_seq_event_t **ev); 528 int snd_seq_extract_output(snd_seq_t *handle, snd_seq_event_t **ev);
|
D | seqmid.h | 49 memset(ev, 0, sizeof(snd_seq_event_t)) 288 int snd_seq_control_queue(snd_seq_t *seq, int q, int type, int value, snd_seq_event_t *ev);
|
D | seq_event.h | 319 } snd_seq_event_t; typedef
|
/third_party/alsa-utils/seq/aseqnet/ |
D | aseqnet.c | 192 max_wrlen = MAX_BUF_EVENTS * sizeof(snd_seq_event_t); in init_buf() 193 max_rdlen = MAX_BUF_EVENTS * sizeof(snd_seq_event_t); in init_buf() 570 static void print_event(snd_seq_event_t *ev) in print_event() 600 snd_seq_event_t *ev; in copy_local_to_remote() 613 memcpy(buf, ev, sizeof(snd_seq_event_t)); in copy_local_to_remote() 634 snd_seq_event_t *ev; in copy_remote_to_local() 636 count = read(fd, readbuf, MAX_BUF_EVENTS * sizeof(snd_seq_event_t)); in copy_remote_to_local() 646 ev = (snd_seq_event_t*)buf; in copy_remote_to_local()
|
/third_party/alsa-lib/test/lsb/ |
D | midi_event.c | 37 snd_seq_event_t ev; in test_decode() 157 snd_seq_event_t ev; in test_reset_decode() 179 snd_seq_event_t ev; in test_encode() 290 snd_seq_event_t ev; in test_reset_encode() 309 snd_seq_event_t ev; in test_init() 336 snd_seq_event_t ev; in test_encode_byte()
|
/third_party/alsa-lib/src/rawmidi/ |
D | rawmidi_virt.c | 47 snd_seq_event_t *in_event; 53 snd_seq_event_t out_event; 105 if (params->buffer_size < sizeof(snd_seq_event_t) || in snd_rawmidi_virtual_input_params() 125 if (params->buffer_size < sizeof(snd_seq_event_t) || in snd_rawmidi_virtual_output_params()
|
/third_party/alsa-utils/seq/aplaymidi/ |
D | arecordmidi.c | 215 snd_seq_event_t ev; in metronome_note() 226 snd_seq_event_t ev; in metronome_echo() 251 snd_seq_event_t ev; in metronome_set_program() 422 static void delta_time(struct smf_track *track, const snd_seq_event_t *ev) in delta_time() 456 static void record_event(const snd_seq_event_t *ev) in record_event() 897 snd_seq_event_t *event; in main()
|
D | aplaymidi.c | 611 static void handle_big_sysex(snd_seq_event_t *ev) in handle_big_sysex() 644 snd_seq_event_t ev; in play_midi()
|
/third_party/alsa-utils/seq/aseqdump/ |
D | aseqdump.c | 131 static void dump_event(const snd_seq_event_t *ev) in dump_event() 424 snd_seq_event_t *event; in main()
|
/third_party/gstreamer/gstplugins_base/ext/alsa/ |
D | gstalsamidisrc.c | 188 snd_seq_event_t ev; in schedule_next_tick() 469 snd_seq_event_t *event; in gst_alsa_midi_src_create()
|