VST 3 Interfaces  VST 3.7
SDK for developing VST plug-in
[3.6.5] Prefetchable Support

Indicates that the plug-in could or not support Prefetch (dynamically): Vst::IPrefetchableSupport.

  • [plug imp]
  • [extends IComponent]
  • [released: 3.6.5]
  • [optional]

The plug-in should implement this interface if it needs to dynamically change between prefetchable or not. By default (without implementing this interface) the host decides in which mode the plug-in is processed. For more info about the prefetch processing mode check the ProcessModes::kPrefetch documentation.

Example

//------------------------------------------------------------------------
tresult PLUGIN_API myPlug::getPrefetchableSupport (PrefetchableSupport& prefetchable)
{
prefetchable = kIsNeverPrefetchable;
switch (myPrefetchableMode)
{
case 0: prefetchable = kIsNeverPrefetchable; break;
case 1: prefetchable = kIsYetPrefetchable; break;
case 2: prefetchable = kIsNotYetPrefetchable; break;
}
return kResultOk;
}



Back to Contents

tresult
int32 tresult
kResultOk
kResultOk
Steinberg::Vst::PrefetchableSupport
uint32 PrefetchableSupport
Prefetchable Support Type.
Definition: ivstprefetchablesupport.h:35
Steinberg::Vst::kIsNotYetPrefetchable
in the current state the plug does not support prefetch processing
Definition: ivstprefetchablesupport.h:43
Steinberg::Vst::kIsYetPrefetchable
in the current state the plug support prefetch processing
Definition: ivstprefetchablesupport.h:42
Steinberg::Vst::kIsNeverPrefetchable
every instance of the plug does not support prefetch processing
Definition: ivstprefetchablesupport.h:41
Empty

Copyright ©2020 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.