diff options
author | deva <deva> | 2011-03-01 19:19:02 +0000 |
---|---|---|
committer | deva <deva> | 2011-03-01 19:19:02 +0000 |
commit | e190d38057892b69246391841b234a368bc2b4ad (patch) | |
tree | 34f946bc1c3b86997d4cd45e63c433ef07b36486 /src/audiofile.h | |
parent | c393edc920f8ee126d1bced3500b6bc1ecf86f83 (diff) |
MAJOR rewrite of the internals. New input/output 'plugin' system. Still a lot missing.
Diffstat (limited to 'src/audiofile.h')
-rw-r--r-- | src/audiofile.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/audiofile.h b/src/audiofile.h index 879cc95..a3d607d 100644 --- a/src/audiofile.h +++ b/src/audiofile.h @@ -27,20 +27,21 @@ #ifndef __DRUMGIZMO_AUDIOFILE_H__ #define __DRUMGIZMO_AUDIOFILE_H__ -#include <jack/jack.h> #include <string> +#include <map> + +#include "audio.h" class AudioFile { public: - AudioFile(std::string filename, bool preload = false, int min_velocity = 0); + AudioFile(std::string filename); ~AudioFile(); void load(); void unload(); - jack_default_audio_sample_t *data; + sample_t *data; size_t size; - std::string channel; private: std::string filename; |