summaryrefslogtreecommitdiff
path: root/src/sample.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sample.h')
-rw-r--r--src/sample.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sample.h b/src/sample.h
index c4d82f8..70cfee2 100644
--- a/src/sample.h
+++ b/src/sample.h
@@ -35,15 +35,18 @@
typedef std::map< Channel*, AudioFile* > AudioFiles;
+class InstrumentParser;
class Sample {
+ friend class InstrumentParser;
public:
- Sample(std::string name = "");
+ Sample(std::string name);
~Sample();
- void addAudioFile(InstrumentChannel *c, AudioFile *a);
AudioFile *getAudioFile(InstrumentChannel *c);
private:
+ void addAudioFile(InstrumentChannel *c, AudioFile *a);
+
std::string name;
AudioFiles audiofiles;
};