From 9a33b92392c386e2eb0f4a33edb6313eeaa1323f Mon Sep 17 00:00:00 2001 From: "Geoffrey D. Bennett" Date: Sat, 8 Mar 2025 04:49:43 +1030 Subject: [PATCH] Don't attempt to attach unused routing_mixer_in_grid --- src/window-routing.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/window-routing.c b/src/window-routing.c index 34f6785..b4e4a6b 100644 --- a/src/window-routing.c +++ b/src/window-routing.c @@ -279,9 +279,10 @@ static void create_routing_grid(struct alsa_card *card) { routing_grid, card->routing_dsp_out_grid, dsp_col_num, 3, 1, 1 ); } - gtk_grid_attach( - routing_grid, card->routing_mixer_in_grid, mix_col_num, 0, 1, 1 - ); + if (!card->has_fixed_mixer_inputs) + gtk_grid_attach( + routing_grid, card->routing_mixer_in_grid, mix_col_num, 0, 1, 1 + ); gtk_grid_attach( routing_grid, card->routing_mixer_out_grid, mix_col_num, 3, 1, 1 );