diff options
author | Robin Gareus <robin@gareus.org> | 2019-02-16 00:13:30 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-02-16 01:10:50 +0100 |
commit | 3cffaeac74163535295513488756c55ba5e2dffa (patch) | |
tree | 3cf90ea9932a8f707f5dc8b04bf0113f2c743e79 /libs/ardour/processor.cc | |
parent | 26f37a47530bac5f1c21d660dcea0b794cc22f09 (diff) |
Prepare to allow to disable latency-compensation
Previously "zero custom/user latency" meant "default plugin latency".
This is now saved in a separate boolean allowing a user to reduce a
processor's latency to zero.
This also prepares for a global switch to use zero latency throughout
the whole session.
Diffstat (limited to 'libs/ardour/processor.cc')
-rw-r--r-- | libs/ardour/processor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/processor.cc b/libs/ardour/processor.cc index 39c3d68ad7..9f799a5060 100644 --- a/libs/ardour/processor.cc +++ b/libs/ardour/processor.cc @@ -146,7 +146,7 @@ Processor::state () } } - node->set_property("user-latency", _user_latency); + Latent::add_state (node); return *node; } @@ -252,7 +252,7 @@ Processor::set_state (const XMLNode& node, int version) } } - node.get_property ("user-latency", _user_latency); + Latent::set_state (node, version); return 0; } |