fixed pitchbend byte ordering
git-svn-id: svn://localhost/ardour2/branches/3.0@3608 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
29401241e3
commit
01f18f325f
@ -216,7 +216,7 @@ Parser::trace_event (Parser &p, byte *msg, size_t len)
|
|||||||
<< "Channel "
|
<< "Channel "
|
||||||
<< (msg[0]&0xF)+1
|
<< (msg[0]&0xF)+1
|
||||||
<< " Pitch Bend "
|
<< " Pitch Bend "
|
||||||
<< ((msg[1]<<7)|msg[2])
|
<< ((msg[2]<<7)|msg[1])
|
||||||
<< endmsg;
|
<< endmsg;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -719,8 +719,8 @@ Parser::signal (byte *msg, size_t len)
|
|||||||
|
|
||||||
case MIDI::pitchbend:
|
case MIDI::pitchbend:
|
||||||
channel_active_preparse[chan_i] (*this);
|
channel_active_preparse[chan_i] (*this);
|
||||||
pitchbend (*this, (msg[1]<<7)|msg[2]);
|
pitchbend (*this, (msg[2]<<7)|msg[1]);
|
||||||
channel_pitchbend[chan_i] (*this, (msg[1]<<7)|msg[2]);
|
channel_pitchbend[chan_i] (*this, (msg[2]<<7)|msg[1]);
|
||||||
channel_active_postparse[chan_i] (*this);
|
channel_active_postparse[chan_i] (*this);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user