ALSA: firewire-lib: limit the MIDI data rate
authorClemens Ladisch <clemens@ladisch.de>
Tue, 25 Nov 2014 21:54:10 +0000 (22:54 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 16 Jan 2015 21:51:23 +0000 (22:51 +0100)
Do no send MIDI bytes at the full rate at which FireWire packets happen
to be sent, but restrict them to the actual rate of a real MIDI port.
This is required by the specification, and prevents data loss when the
device's buffer overruns.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Tested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found