diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-09-27 21:04:54 +0200 | 
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-09-27 21:04:54 +0200 | 
| commit | 83807cf93ef362098d6fea6030646653cc62e37f (patch) | |
| tree | c78a73c754e64bfd86c4952a2681473431483dda /vst | |
| parent | 5591f1602e6171492f5e4620e67d3addeacad7aa (diff) | |
Add vst folder.
Diffstat (limited to 'vst')
| -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  } | 
