diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/drumgizmo_plugin.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc index 24a9d00..847d8d2 100644 --- a/plugin/drumgizmo_plugin.cc +++ b/plugin/drumgizmo_plugin.cc @@ -576,8 +576,8 @@ std::string DrumGizmoPlugin::ConfigStringIO::get() // 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_laid_back_ms\">" + + float2str(settings.latency_laid_back_ms.load()) + "</value>\n" " <value name=\"latency_stddev\">" + float2str(settings.latency_stddev.load()) + "</value>\n" " <value name=\"latency_regain\">" + @@ -667,9 +667,9 @@ bool DrumGizmoPlugin::ConfigStringIO::set(std::string config_string) // settings.latency_max.store(str2int(p.value("latency_max"))); //} - if(p.value("latency_laid_back") != "") + if(p.value("latency_laid_back_ms") != "") { - settings.latency_laid_back.store(str2int(p.value("latency_laid_back"))); + settings.latency_laid_back_ms.store(str2float(p.value("latency_laid_back_ms"))); } if(p.value("latency_stddev") != "") |