Exemple #1
0
        void SendPanPosition(int value)
        {
            if (MidiChannel == null)
            {
                return;
            }

            // As described in bug report #1088045 "MI2: Minor problems in native MT-32 mode"
            // the original iMuse MT-32 driver did revert the panning. So we do the same
            // here in our code to have correctly panned sound output.
            // TODO: part
//            if (Player.IsNativeMT32)
//                value = 127 - value;

            MidiChannel.PanPosition((byte)value);
        }