summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/drumgizmo_plugin.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc
index 19b0b89..641faac 100644
--- a/plugin/drumgizmo_plugin.cc
+++ b/plugin/drumgizmo_plugin.cc
@@ -565,6 +565,8 @@ std::string DrumGizmoPlugin::ConfigStringIO::get()
int2str(settings.disk_cache_chunk_size.load()) + "</value>\n"
" <value name=\"disk_cache_enable\">" +
bool2str(settings.disk_cache_enable.load()) + "</value>\n"
+ " <value name=\"master_bleed\">" +
+ float2str(settings.master_bleed.load()) + "</value>\n"
"</config>";
}
@@ -624,6 +626,11 @@ bool DrumGizmoPlugin::ConfigStringIO::set(std::string config_string)
settings.disk_cache_enable.store(p.value("disk_cache_enable") == "true");
}
+ if(p.value("master_bleed") != "")
+ {
+ settings.master_bleed.store(str2float(p.value("master_bleed")));
+ }
+
std::string newkit = p.value("drumkitfile");
if(newkit != "")
{