diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-09-02 10:30:02 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-09-02 10:30:02 +0200 |
commit | e37c5f5048bb440140dc56ce773d105fc2129385 (patch) | |
tree | 0dfe0ab9faec524fd1ee085c6cf763aa15484331 /src/audiofile.h | |
parent | 6a96bcf1659d07cd3a7f7e65519007abfaeda2a0 (diff) |
Implement master bleed control in the instrument parser and engine.
Diffstat (limited to 'src/audiofile.h')
-rw-r--r-- | src/audiofile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/audiofile.h b/src/audiofile.h index e393511..5d6cdae 100644 --- a/src/audiofile.h +++ b/src/audiofile.h @@ -39,7 +39,7 @@ class AudioFile { public: - AudioFile(const std::string& filename, std::size_t filechannel); + AudioFile(const std::string& filename, std::size_t filechannel, bool main = true); ~AudioFile(); void load(std::size_t sample_limit = std::numeric_limits<std::size_t>::max()); @@ -59,6 +59,8 @@ public: std::size_t filechannel; + bool main; + private: void* magic{nullptr}; volatile bool is_loaded{false}; |