diff options
author | Volker Fischer <corrados@users.noreply.github.com> | 2023-09-27 17:10:45 +0200 |
---|---|---|
committer | Volker Fischer <corrados@users.noreply.github.com> | 2023-09-27 17:10:45 +0200 |
commit | 0a309e5ba1b6e800ba63a1ff96eda5dcea2bca10 (patch) | |
tree | e0fe85de750049ee5914a8fc8f14da749b41f7e3 /src/dgxmlparser.cc | |
parent | 6c9b69b0471fe72c8793d671f267ead3634ef3ac (diff) |
integrate islogpower drumkit XML parameter and dynamic expandercorrados_integrate_logpower
Diffstat (limited to 'src/dgxmlparser.cc')
-rw-r--r-- | src/dgxmlparser.cc | 2 |
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); |