From da394afa286738ae12d8a597ca531129ac43385e Mon Sep 17 00:00:00 2001 From: trasz Date: Sun, 30 Aug 2009 10:13:12 +0000 Subject: [PATCH] Program numbers need to be capped at 127, by MIDI spec. Submitted by: Hans Baier git-svn-id: svn://svn.code.sf.net/p/jack-keyboard/code/trunk@13 1fa2bf75-7d80-4145-9e94-f9b4e25a1cb2 --- src/jack-keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jack-keyboard.c b/src/jack-keyboard.c index 6f080dc..943140e 100644 --- a/src/jack-keyboard.c +++ b/src/jack-keyboard.c @@ -111,7 +111,7 @@ lash_client_t *lash_client; #define BANK_MIN 0 #define BANK_MAX 127 #define PROGRAM_MIN 0 -#define PROGRAM_MAX 16383 +#define PROGRAM_MAX 127 #define CHANNEL_MIN 1 #define CHANNEL_MAX 16