1SND_RAWMIDI_RECEIVE(9) MIDI API SND_RAWMIDI_RECEIVE(9)
2
3
4
6 snd_rawmidi_receive - receive the input data from the device
7
9 int snd_rawmidi_receive(struct snd_rawmidi_substream * substream,
10 const unsigned char * buffer, int count);
11
13 substream
14 the rawmidi substream
15
16 buffer
17 the buffer pointer
18
19 count
20 the data size to read
21
23 Reads the data from the internal buffer.
24
25 Returns the size of read data, or a negative error code on failure.
26
28Kernel Hackers Manual 2.6. November 2011 SND_RAWMIDI_RECEIVE(9)