carta
snd_rawmidi_transmit_peek(9)

snd_rawmidi_transmit_peek9

Copy data from the internal buffer

Arguments

substream

the rawmidi substream

buffer

the buffer pointer

count

data size to transfer

Overview

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.

Return

The size of copied data, or a negative error code on failure.

History

  • Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)
  • Debian 4.0 (Etch)

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.