Home
last modified time | relevance | path

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

/linux-2.6.39/sound/oss/
Dmidibuf.c46 static struct midi_buf *midi_out_buf[MAX_MIDI_DEV] = {NULL}; variable
128 if (midi_devs[dev] != NULL && midi_out_buf[dev] != NULL) in midi_poll()
130 while (DATA_AVAIL(midi_out_buf[dev])) in midi_poll()
133 int c = midi_out_buf[dev]->queue[midi_out_buf[dev]->head]; in midi_poll()
140 midi_out_buf[dev]->head = (midi_out_buf[dev]->head + 1) % MAX_QUEUE_SIZE; in midi_poll()
141 midi_out_buf[dev]->len--; in midi_poll()
144 if (DATA_AVAIL(midi_out_buf[dev]) < 100) in midi_poll()
191 midi_out_buf[dev] = vmalloc(sizeof(struct midi_buf)); in MIDIbuf_open()
193 if (midi_out_buf[dev] == NULL) in MIDIbuf_open()
201 midi_out_buf[dev]->len = midi_out_buf[dev]->head = midi_out_buf[dev]->tail = 0; in MIDIbuf_open()
[all …]
/linux-2.6.39/sound/usb/caiaq/
Dmidi.c69 dev->midi_out_buf[0] = EP1_CMD_MIDI_WRITE; in snd_usb_caiaq_midi_send()
70 dev->midi_out_buf[1] = 0; /* port */ in snd_usb_caiaq_midi_send()
71 len = snd_rawmidi_transmit(substream, dev->midi_out_buf + 3, in snd_usb_caiaq_midi_send()
77 dev->midi_out_buf[2] = len; in snd_usb_caiaq_midi_send()
Ddevice.h78 unsigned char midi_out_buf[EP1_BUFSIZE]; member
Ddevice.c426 dev->midi_out_buf, EP1_BUFSIZE, in init_card()