Home
last modified time | relevance | path

Searched refs:midi_event (Results 1 – 4 of 4) sorted by relevance

/third_party/alsa-lib/test/lsb/
Dmidi_event.c36 snd_midi_event_t *midi_event; in test_decode() local
41 if (ALSA_CHECK(snd_midi_event_new(256 /* ? */, &midi_event)) < 0) in test_decode()
44 #define DECODE() snd_midi_event_decode(midi_event, buf, sizeof(buf), &ev) in test_decode()
149 TEST_CHECK(snd_midi_event_decode(midi_event, buf, 1, &ev) == -ENOMEM); in test_decode()
151 snd_midi_event_free(midi_event); in test_decode()
156 snd_midi_event_t *midi_event; in test_reset_decode() local
161 if (ALSA_CHECK(snd_midi_event_new(256 /* ? */, &midi_event)) < 0) in test_reset_decode()
169 snd_midi_event_reset_decode(midi_event); in test_reset_decode()
173 snd_midi_event_free(midi_event); in test_reset_decode()
178 snd_midi_event_t *midi_event; in test_encode() local
[all …]
DMakefile.am2 TESTS += midi_event
/third_party/alsa-lib/src/rawmidi/
Drawmidi_virt.c45 snd_midi_event_t *midi_event; member
69 if (virt->midi_event) in snd_rawmidi_virtual_close()
70 snd_midi_event_free(virt->midi_event); in snd_rawmidi_virtual_close()
163 snd_midi_event_reset_encode(virt->midi_event); in snd_rawmidi_virtual_drop()
167 snd_midi_event_reset_decode(virt->midi_event); in snd_rawmidi_virtual_drop()
212 size1 = snd_midi_event_encode(virt->midi_event, buffer, size, &virt->out_event); in snd_rawmidi_virtual_write()
256 virt->in_buf_size = snd_midi_event_decode(virt->midi_event, in snd_rawmidi_virtual_read()
334 err = snd_midi_event_new(256, &virt->midi_event); in snd_rawmidi_virtual_open()
337 snd_midi_event_init(virt->midi_event); in snd_rawmidi_virtual_open()
338 snd_midi_event_no_status(virt->midi_event, !merge); in snd_rawmidi_virtual_open()
[all …]
/third_party/alsa-lib/
D.gitignore69 test/lsb/midi_event