PDA

View Full Version : IPlug MakePitchWheelMsg bug


cc_
04-17-2009, 08:55 AM
Is this the best way of reporting bugs?

Amyway IMidiMsg::MakePitchWheelMsg in IPlugStructs.cpp looksbroken to me, it says:


mData2 = i >> 9;
mData1 = i - (i << 7);


I think it should be something like:


mData1 = i & 0x7f;
mData2 = i >> 7;