summaryrefslogtreecommitdiff
path: root/src/drumkitloader.cc
diff options
context:
space:
mode:
authorVolker Fischer <corrados@users.noreply.github.com>2023-09-27 17:10:45 +0200
committerVolker Fischer <corrados@users.noreply.github.com>2023-09-27 17:10:45 +0200
commit0a309e5ba1b6e800ba63a1ff96eda5dcea2bca10 (patch)
treee0fe85de750049ee5914a8fc8f14da749b41f7e3 /src/drumkitloader.cc
parent6c9b69b0471fe72c8793d671f267ead3634ef3ac (diff)
integrate islogpower drumkit XML parameter and dynamic expandercorrados_integrate_logpower
Diffstat (limited to 'src/drumkitloader.cc')
-rw-r--r--src/drumkitloader.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drumkitloader.cc b/src/drumkitloader.cc
index 9167201..91a235f 100644
--- a/src/drumkitloader.cc
+++ b/src/drumkitloader.cc
@@ -136,6 +136,7 @@ bool DrumKitLoader::loadkit(const std::string& file)
settings.drumkit_description.store("");
settings.drumkit_version.store("");
settings.drumkit_samplerate.store(44100);
+ settings.drumkit_is_log_power.store(false);
settings.load_status_text.store("");
settings.drumkit_load_status.store(LoadStatus::Parsing);
@@ -219,6 +220,7 @@ bool DrumKitLoader::loadkit(const std::string& file)
settings.drumkit_description = kit.getDescription();
settings.drumkit_version = kit.getVersion();
settings.drumkit_samplerate = kit.getSamplerate();
+ settings.drumkit_is_log_power = kit.isLogPower();
// only load the default midi map if there is one and no midimap is selected yet
if (drumkitdom.metadata.default_midimap_file != "" && settings.midimap_file == "")
{