summaryrefslogtreecommitdiff
path: root/src/domloader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/domloader.cc')
-rw-r--r--src/domloader.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/domloader.cc b/src/domloader.cc
index a718ade..97c1d6b 100644
--- a/src/domloader.cc
+++ b/src/domloader.cc
@@ -98,7 +98,8 @@ bool DOMLoader::loadDom(const std::string& basepath,
auto path = getPath(basepath + "/" + instrumentref.file);
for(const auto& sampledom : instrumentdom.samples)
{
- auto sample = new Sample(sampledom.name, sampledom.power);
+ auto sample = new Sample(sampledom.name, sampledom.power,
+ sampledom.normalized);
for(const auto& audiofiledom : sampledom.audiofiles)
{
InstrumentChannel *instrument_channel =