]> git.alsa-project.org Git - alsa-lib.git/commit
seq_midi_event: fix decoding of (N)RPN events
authorClemens Ladisch <clemens@ladisch.de>
Mon, 22 Jun 2009 08:00:46 +0000 (10:00 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Mon, 22 Jun 2009 08:00:46 +0000 (10:00 +0200)
commit394b376b3b10308a5d21da7ef87f002b4bf07bf8
treecc8afb3ab5f5d7daa160ff8567bb0288d4c2f887
parentcbf395d6920a17d844ba5fa6afd615e23d00e596
seq_midi_event: fix decoding of (N)RPN events

When decoding (N)RPN sequencer events into raw MIDI commands, the
extra_decode_xrpn() function had accidentally swapped the MSB and LSB
controller values of both the parameter number and the data value.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
src/seq/seq_midi_event.c