/src/sys/dev/ |
midi_if.h | 85 * deliver channel messages, system common messages other than sysex, and sysex 100 int (*sysex)(void *, u_char *, int); member in struct:midi_hw_if_ext
|
sequencer.c | 1169 uint8_t *bf = b->sysex.buffer; 1173 dev = b->sysex.device; 1303 struct sysex_info sysex; local in function:seq_do_fullsize 1307 memcpy(&sysex, b, sizeof(*b)); 1308 dev = sysex.device_no; 1312 sysex.key, dev, sysex.len)); 1313 return midiseq_loadpatch(sc->devs[dev], &sysex, uio); 1590 struct sysex_info *sysex, struct uio *uio) 1596 if (sysex->key != SEQ_SYSEX_PATCH) [all...] |
midisyn.c | 103 .sysex = midisyn_sysex, 448 * to do some parsing of well-defined sysex messages here, either 451 * to deal with sysex messages poked at it a byte at a time.
|
midi.c | 379 * Returns FST_MORE if a complete message has not been parsed yet (SysEx 395 * bytes of a system exclusive message. A SysEx message will be delivered in 400 * all; again SysEx is the exception, as one or more chunks of it may already 407 * (which may not necessarily be msg[0]!). There is only one SysEx status 428 * FST_SXP (sysex plus) return; the bytes from pos to end are the end of the 744 * Ultimately SysEx msgs should be offered to the sequencer also; the 748 * -> When SysEx support is added to the sequencer, be sure to handle 1132 error = sc->hw_if_ext->sysex(sc->hw_hdl, cp, length); 1633 * included is complete (SysEx the only exception), and then
|
/src/sys/sys/ |
midiio.h | 291 int32_t len; /* Size of the sysex data in bytes */ 292 u_char data[1]; /* Sysex data starts here */ 544 } sysex; member in union:__anonf4e6eb5a020a 595 SEQ_MK_EVENT(sysex, 0x94, .device=(_dev), \ 610 SEQ_MK_EVENT(sysex, 0x94, .device=(_dev), \ 751 * A SYSEX event carries up to six bytes of a system exclusive message. 766 e.sysex.buffer[i] = i;
|
/src/sys/dev/ic/ |
opl.c | 672 oplsyn_loadpatch(midisyn *ms, struct sysex_info *sysex, struct uio *uio) 680 memcpy(&ins, sysex, sizeof *sysex); 681 if (uio->uio_resid >= sizeof ins - sizeof *sysex) 683 uiomove((char *)&ins + sizeof *sysex, sizeof ins - sizeof *sysex, uio);
|
/src/usr.bin/midiplay/ |
midiplay.c | 87 SEQ_MK_EVENT(sysex, 0x94, .device=(_dev), .buffer={__VA_ARGS__}) 175 static int svsysex = 0; /* number of sysex bytes saved internally */ 307 * This block is needed only to handle the possibility that a sysex 309 * have length six; the /dev/music sequencer assumes a sysex message is 310 * finished with the first SYSEX event carrying fewer than six bytes, 312 * not to send a short sysex event until we have seen the end byte. 331 memcpy(event.sysex.buffer, bf, svsysex); 361 memcpy(event.sysex.buffer, p, l);
|
/src/sys/dev/usb/ |
umidi.c | 301 .sysex = umidi_sysex, 307 .sysex = umidi_sysex,
|