summaryrefslogtreecommitdiff
path: root/src/audiofile.h
diff options
context:
space:
mode:
authordeva <deva>2011-03-01 19:19:02 +0000
committerdeva <deva>2011-03-01 19:19:02 +0000
commite190d38057892b69246391841b234a368bc2b4ad (patch)
tree34f946bc1c3b86997d4cd45e63c433ef07b36486 /src/audiofile.h
parentc393edc920f8ee126d1bced3500b6bc1ecf86f83 (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.h9
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;