1SND_RAWMIDI_TRANSMIT(9) MIDI API SND_RAWMIDI_TRANSMIT(9)
2
3
4
6 snd_rawmidi_transmit - copy from the buffer to the device
7
9 int snd_rawmidi_transmit(struct snd_rawmidi_substream * substream,
10 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 transfer
21
23 Copies data from the buffer to the device and advances the pointer.
24
25 Returns the copied size if successful, or a negative error code on
26 failure.
27
29Kernel Hackers Manual 2.6. June 2019 SND_RAWMIDI_TRANSMIT(9)