diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/drumgizmo_plugin.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc index 641faac..debe630 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=\"enable_bleed_control\">" + + bool2str(settings.enable_bleed_control.load()) + "</value>\n" " <value name=\"master_bleed\">" + float2str(settings.master_bleed.load()) + "</value>\n" "</config>"; @@ -626,6 +628,11 @@ bool DrumGizmoPlugin::ConfigStringIO::set(std::string config_string) settings.disk_cache_enable.store(p.value("disk_cache_enable") == "true"); } + if(p.value("enable_bleed_control") != "") + { + settings.enable_bleed_control.store(p.value("enable_bleed_control") == "true"); + } + if(p.value("master_bleed") != "") { settings.master_bleed.store(str2float(p.value("master_bleed"))); |