JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
Steinberg::Vst::IPrefetchableSupport Class Referenceabstract

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

#include "ivstprefetchablesupport.h"

Inheritance diagram for Steinberg::Vst::IPrefetchableSupport:
Steinberg::FUnknown

Public Member Functions

virtual tresult PLUGIN_API getPrefetchableSupport (PrefetchableSupport &prefetchable)=0
 retrieve the current prefetch support.
 
- Public Member Functions inherited from Steinberg::FUnknown
virtual tresult PLUGIN_API queryInterface (const TUID _iid, void **obj)=0
 Query for a pointer to the specified interface.
 
virtual uint32 PLUGIN_API addRef ()=0
 Adds a reference and returns the new reference count.
 
virtual uint32 PLUGIN_API release ()=0
 Releases a reference and returns the new reference count.
 

Static Public Attributes

static const FUID iid
 
- Static Public Attributes inherited from Steinberg::FUnknown
static const FUID iid
 

Detailed Description

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

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;
}
@ kIsNotYetPrefetchable
in the current state the plug does not support prefetch processing
@ kIsNeverPrefetchable
every instance of the plug does not support prefetch processing
@ kIsYetPrefetchable
in the current state the plug support prefetch processing
uint32 PrefetchableSupport
Prefetchable Support Type.

Definition at line 79 of file ivstprefetchablesupport.h.

Member Function Documentation

◆ getPrefetchableSupport()

virtual tresult PLUGIN_API Steinberg::Vst::IPrefetchableSupport::getPrefetchableSupport ( PrefetchableSupport prefetchable)
pure virtual

retrieve the current prefetch support.

Use IComponentHandler::restartComponent (kPrefetchableSupportChanged) to inform the host that this support has changed.

Member Data Documentation

◆ iid

const FUID Steinberg::Vst::IPrefetchableSupport::iid
static

Definition at line 88 of file ivstprefetchablesupport.h.


The documentation for this class was generated from the following file: