diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-06 19:00:12 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-06 19:13:41 +0200 |
commit | 7418abaeb3130423bedd6bcb3cef0eb2565ed5d6 (patch) | |
tree | 4991351a7e53a0a846c1447e9fe3ffabb31b6acc /src/sample.h | |
parent | 718e8db44d984a97c032dccfe95e3f4707c0835a (diff) |
Added unit-test for InstrumentParser.
Diffstat (limited to 'src/sample.h')
-rw-r--r-- | src/sample.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sample.h b/src/sample.h index e9cbf18..7eb4076 100644 --- a/src/sample.h +++ b/src/sample.h @@ -36,8 +36,6 @@ using AudioFiles = std::map<const InstrumentChannel*, AudioFile*>; class Sample { - friend class InstrumentParser; - friend class PowerList; public: Sample(const std::string& name, float power); ~Sample(); @@ -45,6 +43,10 @@ public: AudioFile* getAudioFile(const Channel& channel); private: + friend class InstrumentParser; + friend class PowerList; + friend class InstrumentParserTest; + void addAudioFile(InstrumentChannel* instrument_channel, AudioFile* audio_file); |