VST 3 Interfaces  VST 3.6.14
SDK for developing VST Plug-in
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
Prefetchable Support

Indicates that the Plug-in could or not support Prefetch (dynamically).

  • [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 will decide in which mode the Plug-in will be process. For more info about Prefetch processing mode check 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

Empty

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