From c57e4eb2a46fa5e1e91b56cbed0eb2b5d76e3d6d Mon Sep 17 00:00:00 2001 From: "Geoffrey D. Bennett" Date: Wed, 27 Mar 2024 00:04:23 +1030 Subject: [PATCH] Move 4th Gen Solo 48V switch above the Air switch Fixes #107. --- src/iface-mixer.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/iface-mixer.c b/src/iface-mixer.c index cf8ac55..2f7eb1f 100644 --- a/src/iface-mixer.c +++ b/src/iface-mixer.c @@ -522,6 +522,25 @@ static void create_input_controls( int current_row = 1; + // 4th Gen Solo, put the Phantom Power control above the Air control + if (get_elem_by_name(elems, "Direct Monitor Playback Switch")) { + create_input_controls_by_type( + elems, input_grid, ¤t_row, + "Level Capture Enum", create_input_level_control + ); + create_input_controls_by_type( + elems, input_grid, ¤t_row, + "Phantom Power Capture Switch", create_input_phantom_control + ); + create_input_controls_by_type( + elems, input_grid, ¤t_row, + "Air Capture Enum", create_input_air_enum_control + ); + + (*x)++; + return; + } + create_input_select_control(elems, input_grid, ¤t_row); create_input_controls_by_type(