mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
envy24control: midi support for mixer
Hello devlopers, I have made the mixer sliders in envy24control react to MIDI controllers. This way the hardware mixer can be controlled from a sequencer program or some external MIDI controller hardware. envy24control became a standard ALSA sequencer client which you can connect to arbitrary other MIDI sources/sinks. Signed-off-by: Dirk Jagdmann <doj@cubic.org>
This commit is contained in:
parent
465acb88f4
commit
1be230856c
6 changed files with 269 additions and 41 deletions
12
envy24control/midi.h
Normal file
12
envy24control/midi.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#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);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue