summaryrefslogtreecommitdiff
path: root/vst/drumgizmo_vst.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-09-27 21:04:54 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2011-09-27 21:04:54 +0200
commit83807cf93ef362098d6fea6030646653cc62e37f (patch)
treec78a73c754e64bfd86c4952a2681473431483dda /vst/drumgizmo_vst.cc
parent5591f1602e6171492f5e4620e67d3addeacad7aa (diff)
Add vst folder.
Diffstat (limited to 'vst/drumgizmo_vst.cc')
-rw-r--r--vst/drumgizmo_vst.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/vst/drumgizmo_vst.cc b/vst/drumgizmo_vst.cc
index 8e29f2d..33c0a9d 100644
--- a/vst/drumgizmo_vst.cc
+++ b/vst/drumgizmo_vst.cc
@@ -58,8 +58,8 @@ DrumGizmoVst::DrumGizmoVst(audioMasterCallback audioMaster)
setNumOutputs(NUM_OUTPUTS);
canProcessReplacing();
isSynth();
- char id[] = "DGv1"; // Four bytes typecasted into an unsigned integer
- setUniqueID((unsigned int)*id);
+ char id[] = "BLOP"; // Four bytes typecasted into an unsigned integer
+ setUniqueID(*(unsigned int*)id);
}
initProcess();
@@ -208,19 +208,19 @@ bool DrumGizmoVst::getProgramNameIndexed(VstInt32 category, VstInt32 index,
bool DrumGizmoVst::getEffectName(char* name)
{
- vst_strncpy(name, "DrumGizmo", kVstMaxEffectNameLen);
+ vst_strncpy(name, "DrumGizmoSKU", kVstMaxEffectNameLen);
return true;
}
bool DrumGizmoVst::getVendorString(char* text)
{
- vst_strncpy(text, "Aasimon.org", kVstMaxVendorStrLen);
+ vst_strncpy(text, "Aasimon.org-yeah", kVstMaxVendorStrLen);
return true;
}
bool DrumGizmoVst::getProductString(char* text)
{
- vst_strncpy(text, "Vst Synth", kVstMaxProductStrLen);
+ vst_strncpy(text, "Vst Synthdims", kVstMaxProductStrLen);
return true;
}
@@ -233,7 +233,7 @@ VstInt32 DrumGizmoVst::canDo(char* text)
{
if(!strcmp(text, "receiveVstEvents")) return 1;
if(!strcmp(text, "receiveVstMidiEvent")) return 1;
- if(!strcmp(text, "midiProgramNames")) return 1;
+ //if(!strcmp(text, "midiProgramNames")) return 1;
return -1; // explicitly can't do; 0 => don't know
}