summaryrefslogtreecommitdiff
path: root/src/sample.h
diff options
context:
space:
mode:
authordeva <deva>2008-07-22 21:00:01 +0000
committerdeva <deva>2008-07-22 21:00:01 +0000
commitf6cabfe8fe888e00388a815541084b0fa332a462 (patch)
treed39301b9e194e2e58a24c92ec5526d05fa1b4a3a /src/sample.h
parent14309bc447960536c34a438dffb93f520dad40fa (diff)
DrumKit parser. Internal drumkit now used in events. This is the first milestone.
Diffstat (limited to 'src/sample.h')
-rw-r--r--src/sample.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/sample.h b/src/sample.h
index 16ff2fe..e3acff1 100644
--- a/src/sample.h
+++ b/src/sample.h
@@ -27,15 +27,20 @@
#ifndef __DRUMGIZMO_SAMPLE_H__
#define __DRUMGIZMO_SAMPLE_H__
-#include <jack/jack.h>
+#include <map>
+#include <string>
+#include "audiofile.h"
+
+typedef std::map< std::string, AudioFile* > AudioFiles;
class Sample {
public:
- Sample(char *file);
+ Sample(std::string name);
~Sample();
- jack_default_audio_sample_t *data;
- size_t size;
+ AudioFiles audiofiles;
+
+ std::string name;
};
#endif/*__DRUMGIZMO_SAMPLE_H__*/