summaryrefslogtreecommitdiff
path: root/src/domloader.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-01-26 20:31:31 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2021-08-09 19:24:06 +0200
commit3329f636502bb4000c7a0da208bea42545564052 (patch)
treefc3cfd2f72d30d6a767b01cbfe064e0ca423b354 /src/domloader.cc
parent380213d0a092a874182f1cf9c8d0cf828a624511 (diff)
Add positional information to drumkit xml and sample class.
Diffstat (limited to 'src/domloader.cc')
-rw-r--r--src/domloader.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/domloader.cc b/src/domloader.cc
index c78ed75..5d411bd 100644
--- a/src/domloader.cc
+++ b/src/domloader.cc
@@ -99,6 +99,7 @@ bool DOMLoader::loadDom(const std::string& basepath,
for(const auto& sampledom : instrumentdom.samples)
{
auto sample = new Sample(sampledom.name, sampledom.power,
+ sampledom.position,
sampledom.normalized);
for(const auto& audiofiledom : sampledom.audiofiles)
{