mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-11-13 13:30:01 -05:00
envy24control: port to GTK 3
Signed-off-by: Andreas Persson <andreasp56@outlook.com>
This commit is contained in:
parent
32495631b1
commit
16bb554fce
12 changed files with 541 additions and 534 deletions
|
|
@ -243,7 +243,7 @@ int midi_init(char *appname, int channel, int midi_enhanced)
|
|||
void mixer_adjust(GtkAdjustment *adj, gpointer data);
|
||||
void mixer_set_mute(int stream, int left, int right);
|
||||
|
||||
void midi_process(gpointer data, gint source, GdkInputCondition condition)
|
||||
gboolean midi_process(GIOChannel *gio, GIOCondition condition, gpointer data)
|
||||
{
|
||||
snd_seq_event_t *ev;
|
||||
static GtkAdjustment *adj=0;
|
||||
|
|
@ -306,6 +306,7 @@ void midi_process(gpointer data, gint source, GdkInputCondition condition)
|
|||
snd_seq_free_event(ev);
|
||||
}
|
||||
while (snd_seq_event_input_pending(seq, 0) > 0);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* ************************************************* */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue