summaryrefslogtreecommitdiff
path: root/src/domloader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/domloader.cc')
-rw-r--r--src/domloader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/domloader.cc b/src/domloader.cc
index e095acb..663ef75 100644
--- a/src/domloader.cc
+++ b/src/domloader.cc
@@ -104,7 +104,7 @@ bool DOMLoader::loadDom(const std::string& basepath,
auto audio_file =
std::make_unique<AudioFile>(path + "/" + audiofiledom.file,
- audiofiledom.filechannel - 1,
+ audiofiledom.filechannel - 1, // xml is 1-based
instrument_channel);
sample->addAudioFile(instrument_channel,