snd_rawmidi_write

Name

snd_rawmidi_write -- transfer the MIDI stream to RawMidi device

Synopsis

ssize_t snd_rawmidi_write(snd_rawmidi_t *handle, const void *buffer, size_t size);

Description

Writes bytes to the output queue. Function returns zero or positive value if the write was successful (value represents count of bytes which were successfully written to the device) or an error value if error occurred. Function will suspend the process if block behaviour is active.