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>2024-07-22 11:21:48 +0200
commita095aef4f9d2fe0584eeadca85039dbc838355ed (patch)
tree976dff233adbb073e2383593825a024d7b956a7b /src/domloader.cc
parent019d478818950f7880d2c0f80d8fc8f963e9736b (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)
{