Handle per-channel link buttons
Older kernel versions had one link button per channel pair.
This commit is contained in:
@@ -260,8 +260,13 @@ static void create_input_link_control(
|
||||
|
||||
int from, to;
|
||||
get_two_num_from_string(elem->name, &from, &to);
|
||||
|
||||
// skip even numbers
|
||||
if (!(from % 2))
|
||||
return;
|
||||
|
||||
if (to == -1)
|
||||
to = from;
|
||||
to = from + 1;
|
||||
|
||||
gtk_grid_attach(GTK_GRID(grid), w, from - 1, current_row, to - from + 1, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user