envy24control midi updates

I have enhanced the midi control of envy24control.

1) I have fixed midi feedback, where issuing a controller event resulted in
the controller value beeing sent to the midi port again.

2) I have added midi controllers for the "mute" buttons, which can now be
controller via midi.

3) and while rewriting the midi code to support the mute buttons several
off-by-one errors have been fixed.
From: Dirk Jagdmann <doj@cubic.org>
This commit is contained in:
Jaroslav Kysela 2005-07-26 11:37:11 +00:00
parent d8758b8482
commit 632a2ae802
3 changed files with 72 additions and 20 deletions

View file

@ -8,5 +8,6 @@ int midi_close();
void midi_maxstreams(int);
int midi_controller(int c, int v);
void midi_process(gpointer data, gint source, GdkInputCondition condition);
int midi_button(int b, int v);
#endif