Name

snd_rawmidi_transmit — copy from the buffer to the device

Synopsis

int snd_rawmidi_transmit (snd_rawmidi_substream_t *  substream,
 unsigned char *  buffer,
 int  count);

Arguments

substream

the rawmidi substream

buffer

-- undescribed --

count

the data size to transfer

Description

Copies data from the buffer to the device and advances the pointer.

Returns the copied size if successful, or a negative error code on failure.