diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-03-22 20:19:45 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-03-23 20:17:53 +0100 |
commit | 6c5b062ba00388951b67dc1ea555dc6ad8af4ede (patch) | |
tree | 2ebc3884a6423d39c6729bd7e1e018e1f504d49a /src/instrumentparser.cc | |
parent | a6c134a82143acd32f80b2f9679f8fcf194a5402 (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.cc | 2 |
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")); |