summaryrefslogtreecommitdiff
path: root/src/dgxmlparser.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/dgxmlparser.cc
parent6c9b69b0471fe72c8793d671f267ead3634ef3ac (diff)
integrate islogpower drumkit XML parameter and dynamic expandercorrados_integrate_logpower
Diffstat (limited to 'src/dgxmlparser.cc')
-rw-r--r--src/dgxmlparser.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dgxmlparser.cc b/src/dgxmlparser.cc
index 0d3cdcd..c3d9941 100644
--- a/src/dgxmlparser.cc
+++ b/src/dgxmlparser.cc
@@ -209,6 +209,8 @@ bool parseDrumkitFile(const std::string& filename, DrumkitDOM& dom, LogFunction
res &= attrcpy(dom.version, drumkit, "version", logger, filename, true);
dom.samplerate = 44100.0;
res &= attrcpy(dom.samplerate, drumkit, "samplerate", logger, filename, true);
+ dom.islogpower = false;
+ res &= attrcpy(dom.islogpower, drumkit, "islogpower", logger, filename, true);
// Use the old name and description attributes on the drumkit node as fallback
res &= attrcpy(dom.metadata.title, drumkit, "name", logger, filename, true);