diff options
Diffstat (limited to 'src/sample.h')
-rw-r--r-- | src/sample.h | 7 |
1 files changed, 4 insertions, 3 deletions
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<Channel*, AudioFile*>; +using AudioFiles = std::map<const InstrumentChannel*, AudioFile*>; -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, |