summaryrefslogtreecommitdiff
path: root/src/domloader.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-02-03 12:58:56 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2019-02-03 12:58:56 +0100
commitcd8c6ffd87e8c53724d608c4084305c67c371548 (patch)
tree6036ea14a4eae344d1ba895b1090a0fe4da0a14f /src/domloader.cc
parent7a8e610ddde160950839f3af9356d4c416b39396 (diff)
Add metadata support to xml parser and dom model. RE-add unit-tests for version 1 instruments.
Diffstat (limited to 'src/domloader.cc')
-rw-r--r--src/domloader.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/domloader.cc b/src/domloader.cc
index 8a133fa..ad97165 100644
--- a/src/domloader.cc
+++ b/src/domloader.cc
@@ -56,9 +56,9 @@ bool DOMLoader::loadDom(const std::string& basepath,
{
settings.has_bleed_control.store(false);
- drumkit._name = dom.name;
+ drumkit._name = dom.metadata.title;
drumkit._version = dom.version;
- drumkit._description = dom.description;
+ drumkit._description = dom.metadata.description;
drumkit._samplerate = dom.samplerate;
for(const auto& channel: dom.channels)