alsa-tools/envy24control/midi.h
Jaroslav Kysela 632a2ae802 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>
2005-07-26 11:37:11 +00:00

13 lines
293 B
C

#ifndef MIDI__H
#define MIDI__H
#include <gdk/gdk.h>
int midi_init(char *appname, int channel);
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