From b98a2c87decfdf290407e79fcdb37c03d5cabda9 Mon Sep 17 00:00:00 2001 From: parzival-space Date: Fri, 9 Aug 2024 23:41:20 +0200 Subject: [PATCH] Reorganized filter settings --- FaderSyncPlugin/OBS/GoXlrChannelSyncFilter.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/FaderSyncPlugin/OBS/GoXlrChannelSyncFilter.cs b/FaderSyncPlugin/OBS/GoXlrChannelSyncFilter.cs index 3258d75..57d880e 100644 --- a/FaderSyncPlugin/OBS/GoXlrChannelSyncFilter.cs +++ b/FaderSyncPlugin/OBS/GoXlrChannelSyncFilter.cs @@ -186,6 +186,10 @@ private static unsafe void GetDefaults(obs_data* settings) sChannelLineOutId = "LineOut"u8.ToArray() ) { + // Create the Serial Dropdown.. + var deviceList = ObsProperties.obs_properties_add_list(properties, (sbyte*)sDeviceSerialId, (sbyte*)sDeviceSerialDescription, + obs_combo_type.OBS_COMBO_TYPE_LIST, obs_combo_format.OBS_COMBO_FORMAT_STRING); + // channel selection list var channelList = ObsProperties.obs_properties_add_list(properties, (sbyte*)sChannelNameId, (sbyte*)sChannelNameDescription, obs_combo_type.OBS_COMBO_TYPE_LIST, @@ -202,12 +206,6 @@ private static unsafe void GetDefaults(obs_data* settings) ObsProperties.obs_property_list_add_string(channelList, (sbyte*)sChannelMicMonitor, (sbyte*)sChannelMicMonitorId); ObsProperties.obs_property_list_add_string(channelList, (sbyte*)sChannelLineOut, (sbyte*)sChannelLineOutId); - - // Create the Serial Dropdown.. - var deviceList = ObsProperties.obs_properties_add_list(properties, (sbyte*)sDeviceSerialId, (sbyte*)sDeviceSerialDescription, - obs_combo_type.OBS_COMBO_TYPE_LIST, obs_combo_format.OBS_COMBO_FORMAT_STRING); - - // Before we Proceed, we need to fetch a list of the available GoXLRs on the System.. var utility = UtilitySingleton.GetInstance(); var mixers = (JsonObject)utility.Status?["mixers"];