summaryrefslogtreecommitdiff
path: root/vst/drumgizmo_vst.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-01-26 08:49:35 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-01-26 08:49:35 +0100
commitbe628876b0515ceee40946e923771e1b40d6641b (patch)
tree71fd3b3ccdc543ede0ae78ebb565a494242a6a7a /vst/drumgizmo_vst.h
parent838ca69e4b226fa11ce04247148559bef3370959 (diff)
Lots of integration work with GUI, as well as config storage.
Diffstat (limited to 'vst/drumgizmo_vst.h')
-rw-r--r--vst/drumgizmo_vst.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/vst/drumgizmo_vst.h b/vst/drumgizmo_vst.h
index 5e063ff..4497c48 100644
--- a/vst/drumgizmo_vst.h
+++ b/vst/drumgizmo_vst.h
@@ -81,7 +81,12 @@ public:
bool hasMidiProgramsChanged(VstInt32 channel);
bool getMidiKeyName(VstInt32 channel, MidiKeyName* keyName);
+ VstInt32 getChunk(void **data, bool isPreset);
+ VstInt32 setChunk(void *data, VstInt32 byteSize, bool isPreset);
+
DrumGizmo *drumgizmo;
+ InputVST *input;
+ OutputVST *output;
private:
void initProcess();
@@ -89,8 +94,6 @@ private:
// void noteOff();
void fillProgram(VstInt32 channel, VstInt32 prg, MidiProgramName* mpn);
- InputVST *input;
- OutputVST *output;
size_t pos;
sample_t *buffer;
size_t buffer_size;