From 0a309e5ba1b6e800ba63a1ff96eda5dcea2bca10 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Wed, 27 Sep 2023 17:10:45 +0200 Subject: integrate islogpower drumkit XML parameter and dynamic expander --- src/dgxmlparser.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dgxmlparser.cc') 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); -- cgit v1.2.3