From 05270cd4abe1cc61fb680b801676436f10069413 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 10 Oct 2019 17:31:35 +0200 Subject: Added 'normalized' attribute to sample tag. --- src/domloader.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/domloader.cc') 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 = -- cgit v1.2.3