From e37c5f5048bb440140dc56ce773d105fc2129385 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 2 Sep 2017 10:30:02 +0200 Subject: Implement master bleed control in the instrument parser and engine. --- src/sample.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/sample.h') diff --git a/src/sample.h b/src/sample.h index f00db13..e9cbf18 100644 --- a/src/sample.h +++ b/src/sample.h @@ -32,16 +32,17 @@ #include "channel.h" #include "audiofile.h" -using AudioFiles = std::map; +using AudioFiles = std::map; -class Sample { +class Sample +{ friend class InstrumentParser; friend class PowerList; public: Sample(const std::string& name, float power); ~Sample(); - AudioFile* getAudioFile(InstrumentChannel *instrument_channel); + AudioFile* getAudioFile(const Channel& channel); private: void addAudioFile(InstrumentChannel* instrument_channel, -- cgit v1.2.3