mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-13 01:56:34 +01:00
Reset master send control along with sends
This commit is contained in:
parent
c34abd094e
commit
07709b39c1
1 changed files with 15 additions and 1 deletions
|
|
@ -193,7 +193,21 @@ function factory() return function()
|
||||||
|
|
||||||
if pref["eq"] then reset_eq_controls(route, disp, auto) end
|
if pref["eq"] then reset_eq_controls(route, disp, auto) end
|
||||||
if pref["comp"] then reset_comp_controls(route, disp, auto) end
|
if pref["comp"] then reset_comp_controls(route, disp, auto) end
|
||||||
if pref["sends"] then reset_send_controls(route, disp, auto) end
|
if pref["sends"] then
|
||||||
|
reset_send_controls(route, disp, auto)
|
||||||
|
|
||||||
|
-- Can't use reset() on this becuase ctrl:desc().normal
|
||||||
|
-- for master_send_enable_controllable is 0, and we really
|
||||||
|
-- want 1.
|
||||||
|
local msec = route:master_send_enable_controllable()
|
||||||
|
if not(msec:isnil()) then
|
||||||
|
msec:set_value(1, disp)
|
||||||
|
if auto then
|
||||||
|
ctrl:set_automation_state(auto)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
reset_plugins(route, pref, auto)
|
reset_plugins(route, pref, auto)
|
||||||
|
|
||||||
if pref["rec"] then
|
if pref["rec"] then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue