Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 61300 | Differences between
and this patch

Collapse All | Expand All

(-)vstsdk2.3/source/common/aeffectx.h (+15 lines)
Line 917 Link Here
918
	/* -- Anyone know that ANSI C doesn't support constructors in structs? I guess the authors didn't. -- Klowner
Line 932 Link Here
934
	*/
Line 940 Link Here
943
void VstFileTypeSet (VstFileType *ptr, char* _name, char *_macType, char *_dosType, char *_unixType = 0, char *_mimeType1 = 0, char *_mimeType2 = 0)
944
{
945
	// mimics the function of the standard violating segment of code found above.
946
	strcpy (ptr->name, _name);
947
	strcpy (ptr->macType, _macType);
948
	strcpy (ptr->dosType, _dosType);
949
	strcpy (ptr->unixType, _unixType);
950
	strcpy (ptr->mimeType1, _mimeType1);
951
	strcpy (ptr->mimeType2, _mimeType2);
952
	return;
953
};
954
955
(-)vstsdk2.3/source/controlsgui/controlsguieditor.cpp (+7 lines)
Line 760 Link Here
761
				/* -- I do hope this works.
Line 764 Link Here
766
				*/
767
				VstFileType aiffType; VstFileTypeSet(&aiffType, "AIFF File", "AIFF", "aif", "aiff", "audio/aiff", "audio/x-aiff");
768
				VstFileType aifcType; VstFileTypeSet(&aifcType, "AIFC File", "AIFC", "aif", "aifc", "audio/x-aifc", "");
769
				VstFileType waveType; VstFileTypeSet(&waveType, "Wave File", ".WAV", "wav", "wav",  "audio/wav", "audio/x-wav");
770
				VstFileType sdIIType; VstFileTypeSet(&sdIIType, "SoundDesigner II File", "Sd2f", "sd2", "sd2", "", "");
771
				// -- end of workaround

Return to bug 61300