Program numbers need to be capped at 127, by MIDI spec.

Submitted by:	Hans Baier <hansfbaier at googlemail.com>


git-svn-id: svn://svn.code.sf.net/p/jack-keyboard/code/trunk@13 1fa2bf75-7d80-4145-9e94-f9b4e25a1cb2
This commit is contained in:
trasz 2009-08-30 10:13:12 +00:00
parent f946c2f606
commit da394afa28

View File

@ -111,7 +111,7 @@ lash_client_t *lash_client;
#define BANK_MIN 0 #define BANK_MIN 0
#define BANK_MAX 127 #define BANK_MAX 127
#define PROGRAM_MIN 0 #define PROGRAM_MIN 0
#define PROGRAM_MAX 16383 #define PROGRAM_MAX 127
#define CHANNEL_MIN 1 #define CHANNEL_MIN 1
#define CHANNEL_MAX 16 #define CHANNEL_MAX 16