From be628876b0515ceee40946e923771e1b40d6641b Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 26 Jan 2013 08:49:35 +0100 Subject: Lots of integration work with GUI, as well as config storage. --- vst/drumgizmo_vst.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'vst/drumgizmo_vst.h') 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; -- cgit v1.2.3