X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fprocessor.cc;h=3bc9db024bef1873c5b1d0db710cb38f5a8648b6;hb=50131b3751e6ed5c9ed7450406049b2195ea9ecf;hp=e1db982fe119a1771cf83b02824fe35667e01022;hpb=79f91c7a205d981d2b8cc15e32a6da02d8423065;p=ardour.git diff --git a/libs/ardour/processor.cc b/libs/ardour/processor.cc index e1db982fe1..3bc9db024b 100644 --- a/libs/ardour/processor.cc +++ b/libs/ardour/processor.cc @@ -70,6 +70,7 @@ Processor::Processor(Session& session, const string& name) , _next_ab_is_active(false) , _configured(false) , _gui(0) + , _display_to_user (true) { } @@ -81,8 +82,9 @@ Processor::Processor (Session& session, const XMLNode& node) , _next_ab_is_active(false) , _configured(false) , _gui(0) + , _display_to_user (true) { - set_state (node); + set_state (node, Stateful::loading_state_version); _pending_active = _active; } @@ -145,7 +147,7 @@ Processor::state (bool full_state) } int -Processor::set_state_2X (const XMLNode & node, int version) +Processor::set_state_2X (const XMLNode & node, int /*version*/) { XMLProperty const * prop; @@ -271,3 +273,10 @@ Processor::configure_io (ChanCount in, ChanCount out) return true; } + +void +Processor::set_display_to_user (bool yn) +{ + _display_to_user = yn; +} +