diff --git a/share/scripts/mixer_settings_store.lua b/share/scripts/mixer_settings_store.lua index e21624ed3c..3c6ecbaef7 100644 --- a/share/scripts/mixer_settings_store.lua +++ b/share/scripts/mixer_settings_store.lua @@ -301,7 +301,7 @@ function factory () return function () local id = proc:to_stateful():id():to_s() local plug = proc:to_insert ():plugin (0) local ptype = proc:to_insert():plugin(0):get_info().type - + local n = 0 for j = 0, plug:parameter_count() - 1 do -- Iterate over all plugin parameters if plug:parameter_is_control(j) then @@ -314,15 +314,15 @@ function factory () return function () if val < pd.lower then val = pd.lower end - + if val > pd.upper then val = pd.upper end - + print(r:name(), "->", proc:display_name(), "(#".. n ..")", label, val) params[n] = val end - n = n + 1 + n = n + 1 end end i = i + 1