mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-05-02 06:46:58 -04:00
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:
parent
8e8896bcbe
commit
9a5420b76a
7 changed files with 236 additions and 65 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue