SND_RAWMIDI_TRANSMIT(9) MIDI API SND_RAWMIDI_TRANSMIT(9)NAMEsnd_rawmidi_transmit_ack - acknowledge the transmission
SYNOPSIS
int snd_rawmidi_transmit_ack(struct snd_rawmidi_substream * substream,
int count);
ARGUMENTS
substream
the rawmidi substream
count
the tranferred count
DESCRIPTION
Advances the hardware pointer for the internal output buffer with the
given size and updates the condition. Call after the transmission is
finished.
Returns the advanced size if successful, or a negative error code on
failure.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 SND_RAWMIDI_TRANSMIT(9)