summaryrefslogtreecommitdiff
path: root/src/instrumentparser.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-03-22 20:19:45 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-03-23 20:17:53 +0100
commit6c5b062ba00388951b67dc1ea555dc6ad8af4ede (patch)
tree2ebc3884a6423d39c6729bd7e1e018e1f504d49a /src/instrumentparser.cc
parenta6c134a82143acd32f80b2f9679f8fcf194a5402 (diff)
Use cache limit for preloading. Add re-load support through reload counter. Refactor AudioFile.
Diffstat (limited to 'src/instrumentparser.cc')
-rw-r--r--src/instrumentparser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instrumentparser.cc b/src/instrumentparser.cc
index af876a8..45e76d8 100644
--- a/src/instrumentparser.cc
+++ b/src/instrumentparser.cc
@@ -129,7 +129,7 @@ void InstrumentParser::startTag(const std::string& name, const attr_t& attr)
return;
}
- int filechannel = 1; // default, override with optional attribute
+ std::size_t filechannel = 1; // default, override with optional attribute
if(attr.find("filechannel") != attr.end())
{
filechannel = std::stoi(attr.at("filechannel"));