1SND_RAWMIDI_TRANSMIT(9)            MIDI API            SND_RAWMIDI_TRANSMIT(9)
2
3
4

NAME

6       snd_rawmidi_transmit_peek - copy data from the internal buffer
7

SYNOPSIS

9       int snd_rawmidi_transmit_peek(struct snd_rawmidi_substream * substream,
10                                     unsigned char * buffer, int count);
11

ARGUMENTS

13       substream
14           the rawmidi substream
15
16       buffer
17           the buffer pointer
18
19       count
20           data size to transfer
21

DESCRIPTION

23       Copies data from the internal output buffer to the given buffer.
24
25       Call this in the interrupt handler when the midi output is ready, and
26       call snd_rawmidi_transmit_ack after the transmission is finished.
27
28       Returns the size of copied data, or a negative error code on failure.
29
31Kernel Hackers Manual 2.6.         June 2019           SND_RAWMIDI_TRANSMIT(9)
Impressum