Reference

snd_rawmidi_transmit(9) on Linux

The text 987890e9c521, as Debian 4.0 (Etch) shipped it.

copy from the buffer to the device

snd_rawmidi_transmit(9) on Linux now