diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-27 17:42:25 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-27 17:42:25 +0200 |
commit | f1727b39be71f1c6acd050defaee8d61c1140be7 (patch) | |
tree | 91e292bfe9589541c6c65a9c6ddce19a11beab51 /plugin | |
parent | 7d143edf9ae9bd266e60d567c31cc03dff4d6223 (diff) |
Do not store/reload latency_max.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/drumgizmo_plugin.cc | 14 |
1 files changed, 8 insertions, 6 deletions
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()) + "</value>\n" " <value name=\"enable_latency_modifier\">" + bool2str(settings.enable_latency_modifier.load()) + "</value>\n" - " <value name=\"latency_max\">" + - int2str(settings.latency_max.load()) + "</value>\n" + // Do not store/reload this value + //" <value name=\"latency_max\">" + + //int2str(settings.latency_max.load()) + "</value>\n" " <value name=\"latency_laid_back\">" + int2str(settings.latency_laid_back.load()) + "</value>\n" " <value name=\"latency_stddev\">" + @@ -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") != "") { |