SND_RAWMIDI_TRANSMIT_PEEK
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
snd_rawmidi_transmit_peek - copy data from the internal buffer
SYNOPSIS
"SYNOPSIS"
int snd_rawmidi_transmit_peek (snd_rawmidi_substream_t * substream, unsigned char * buffer, int count);
ARGUMENTS
- substream
-
the rawmidi substream
- buffer
-
the buffer pointer
- count
-
data size to transfer
DESCRIPTION
Copies data from the internal output buffer to the given buffer.
Call this in the interrupt handler when the midi output is ready,
and call snd_rawmidi_transmit_ack after the transmission is
finished.
Returns the size of copied data, or a negative error code on failure.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 07:07:29 GMT, October 06, 2005