Reference

snd_rawmidi_transmit(9) on Linux

The text caddf0499c75, as Debian 7 (Wheezy) shipped it.

copy from the buffer to the device

snd_rawmidi_transmit(9) on Linux now