Receive the input data from the device
int snd_rawmidi_receive(struct snd_rawmidi_substream * substream, const unsigned char * buffer, int count);
substream
the rawmidi substream
buffer
the buffer pointer
count
the data size to read
Reads the data from the internal buffer.
The size of read data, or a negative error code on failure.