|
|
|
@ -226,6 +226,7 @@ pdvst::pdvst(audioMasterCallback audioMaster) |
|
|
|
|
// {JYG see pdvst::setProgram below for explanation
|
|
|
|
|
timeFromStartup=GetTickCount(); |
|
|
|
|
// JYG }
|
|
|
|
|
programsAreChunks(true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
pdvst::~pdvst() |
|
|
|
@ -600,6 +601,19 @@ bool pdvst::getOutputProperties(VstInt32 index, VstPinProperties* properties) |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
VstInt32 pdvst::getChunk (void** data, bool isPreset) |
|
|
|
|
{ |
|
|
|
|
//fxProgram::fxMagic = "FPCh";
|
|
|
|
|
strcpy ((char *)*data, "hello world"); |
|
|
|
|
return 11; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
VstInt32 pdvst::setChunk (void* data, VstInt32 byteSize, bool isPreset) |
|
|
|
|
{
|
|
|
|
|
//strcpy ((char *)data, "hello world");
|
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
VstInt32 pdvst::canDo(char* text) |
|
|
|
|
{ |
|
|
|
|
//if (isASynth)
|
|
|
|
|