signal71 / symbiosis-au-vst

Automatically exported from code.google.com/p/symbiosis-au-vst
0 stars 0 forks source link

Program count needs to be > 0 #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The problem is in fxb serialization / unserialization. It calls 
setCurrentProgram, and if aeffect-
>numPrograms is 0 this will always assert. I am not exactly sure what the 
conventions are here, but 
my guess is that if a VST reports 0 programs, the host will still serialize / 
unserialize a single 
program (without calling setCurrentProgram perhaps).

Need to verify this from some source or test a few important hosts.

Original issue reported on code.google.com by malstro...@gmail.com on 1 Jan 2010 at 11:22

GoogleCodeExporter commented 8 years ago
Is it legal by the VST 2.4 spec to have a plug-in with zero programs? Don't you 
always need at least 1 to work in? Because VSTs overwrite their preset/programs 
in-place when you make an edit, as opposed to AU where the host makes a new 
program "slot" when you edit a preset. So without at least one program 
position, your VST has nowhere to store ANY state -- right?

Original comment by AdmiralQuality@gmail.com on 4 Nov 2010 at 6:13

GoogleCodeExporter commented 8 years ago
Can't decide on this one. The VST spec doesn't say anything. I do vaguely 
remember that there could be a difference between having 0 and 1 programs in 
Cubase (perhaps still is) in that the program name etc was hidden when you had 
0 programs.

I'll keep things as they are for now. 0 programs not allowed in Symbiosis.

Original comment by malstro...@gmail.com on 30 Aug 2011 at 10:29