diff options
author | deva <deva> | 2008-07-22 21:00:01 +0000 |
---|---|---|
committer | deva <deva> | 2008-07-22 21:00:01 +0000 |
commit | f6cabfe8fe888e00388a815541084b0fa332a462 (patch) | |
tree | d39301b9e194e2e58a24c92ec5526d05fa1b4a3a /src/sample.h | |
parent | 14309bc447960536c34a438dffb93f520dad40fa (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.h | 13 |
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__*/ |