diff options
| -rw-r--r-- | vst/Makefile | 2 | ||||
| -rw-r--r-- | vst/drumgizmo_vst.cc | 12 | 
2 files changed, 7 insertions, 7 deletions
| diff --git a/vst/Makefile b/vst/Makefile index 5400acd..b6d1a10 100644 --- a/vst/Makefile +++ b/vst/Makefile @@ -29,7 +29,7 @@ EXPAT_BASE = expat  EXPAT_FLAGS = -I${EXPAT_BASE}/Source/lib -L${EXPAT_BASE}/Bin -lexpat  SNDFILE_BASE = libsndfile -SNDFILE_FLAGS = -I${SNDFILE_BASE}\include -L${SNDFILE_BASE}/bin -lsndfile-1 +SNDFILE_FLAGS = -I${SNDFILE_BASE}\include -L${SNDFILE_BASE}/bin -lsndfile-1 -static  SRC = \  	drumgizmo_vst.cc \ 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  } | 
