Dirk Kalis <Dirk.Kalis@t-online.de>

The second patch is for envy24control. this patch uses the new driver
design. it is not necessary to give the parameters for inputs and/or
outputs. only the available controls given by the driver will be displayed.
this patch needs the kernel driver patch.
This commit is contained in:
Jaroslav Kysela 2004-03-05 09:10:01 +00:00
parent 8e8896bcbe
commit 9a5420b76a
7 changed files with 236 additions and 65 deletions

View file

@ -54,12 +54,16 @@ void control_input_callback(gpointer data, gint source, GdkInputCondition condit
rate_reset_update();
else if (!strcmp(name, "Multi Playback Volume"))
mixer_update_stream(index + 1, 1, 0);
else if (!strcmp(name, "Multi Capture Volume"))
else if (!strcmp(name, "H/W Multi Capture Volume"))
mixer_update_stream(index + 11, 1, 0);
else if (!strcmp(name, "IEC958 Multi Capture Volume"))
mixer_update_stream(index + 19, 1, 0);
else if (!strcmp(name, "Multi Playback Switch"))
mixer_update_stream(index + 1, 0, 1);
else if (!strcmp(name, "Multi Capture Switch"))
else if (!strcmp(name, "H/W Multi Capture Switch"))
mixer_update_stream(index + 11, 0, 1);
else if (!strcmp(name, "IEC958 Multi Capture Switch"))
mixer_update_stream(index + 19, 0, 1);
else if (!strcmp(name, "H/W Playback Route"))
patchbay_update();
else if (!strcmp(name, "IEC958 Playback Route"))