From f1727b39be71f1c6acd050defaee8d61c1140be7 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 27 Jun 2018 17:42:25 +0200 Subject: Do not store/reload latency_max. --- plugin/drumgizmo_plugin.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'plugin') diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc index 90db744..24a9d00 100644 --- a/plugin/drumgizmo_plugin.cc +++ b/plugin/drumgizmo_plugin.cc @@ -573,8 +573,9 @@ std::string DrumGizmoPlugin::ConfigStringIO::get() float2str(settings.master_bleed.load()) + "\n" " " + bool2str(settings.enable_latency_modifier.load()) + "\n" - " " + - int2str(settings.latency_max.load()) + "\n" + // Do not store/reload this value + //" " + + //int2str(settings.latency_max.load()) + "\n" " " + int2str(settings.latency_laid_back.load()) + "\n" " " + @@ -660,10 +661,11 @@ bool DrumGizmoPlugin::ConfigStringIO::set(std::string config_string) settings.enable_latency_modifier.store(p.value("enable_latency_modifier") == "true"); } - if(p.value("latency_max") != "") - { - settings.latency_max.store(str2int(p.value("latency_max"))); - } + // Do not store/reload this value + //if(p.value("latency_max") != "") + //{ + // settings.latency_max.store(str2int(p.value("latency_max"))); + //} if(p.value("latency_laid_back") != "") { -- cgit v1.2.3