From 47d8323deb8c7351c66a89599f15b60e06a5b814 Mon Sep 17 00:00:00 2001 From: Stepan Moskovchenko Date: Sun, 21 Oct 2007 19:47:33 +0000 Subject: MIDI: Fix ringing/beeks in music caused by improper parsing of some pitch bend events. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15252 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/midi/midiutil.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/plugins/midi/midiutil.c') diff --git a/apps/plugins/midi/midiutil.c b/apps/plugins/midi/midiutil.c index 92ab8db8d6..65ba9c8989 100644 --- a/apps/plugins/midi/midiutil.c +++ b/apps/plugins/midi/midiutil.c @@ -28,7 +28,8 @@ int chPW[16] IBSS_ATTR; /* Channel pitch wheel, MSB only */ int chPBDepth[16] IBSS_ATTR; /* Channel pitch bend depth */ int chPBNoteOffset[16] IBSS_ATTR; /* Pre-computed whole semitone offset */ int chPBFractBend[16] IBSS_ATTR; /* Fractional bend applied to delta */ - +unsigned char chLastCtrlMSB[16]; /* MIDI regs, used for Controller 6. */ +unsigned char chLastCtrlLSB[16]; /* The non-registered ones are ignored */ struct GPatch * gusload(char *); struct GPatch * patchSet[128]; -- cgit v1.2.3