JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::VSTCallbackHandler Struct Referenceabstract

An interface to allow an AudioProcessor to send and receive VST specific calls from the host. More...

#include <juce_VSTCallbackHandler.h>

Public Types

typedef pointer_sized_int() VstHostCallbackType(int32 opcode, int32 index, pointer_sized_int value, void *ptr, float opt)
 The host callback function type. More...
 

Public Member Functions

virtual ~VSTCallbackHandler ()
 
virtual void handleVstHostCallbackAvailable (std::function< VstHostCallbackType > &&callback)
 This is called once by the VST plug-in wrapper after its constructor. More...
 
virtual pointer_sized_int handleVstManufacturerSpecific (int32 index, pointer_sized_int value, void *ptr, float opt)=0
 This is called by the VST plug-in wrapper when it receives unhandled vendor specific calls from the host. More...
 
virtual pointer_sized_int handleVstPluginCanDo (int32 index, pointer_sized_int value, void *ptr, float opt)
 This is called by the VST plug-in wrapper when it receives unhandled plug-in "can do" calls from the host. More...
 

Detailed Description

An interface to allow an AudioProcessor to send and receive VST specific calls from the host.

{Audio}

Member Typedef Documentation

◆ VstHostCallbackType

typedef pointer_sized_int() juce::VSTCallbackHandler::VstHostCallbackType(int32 opcode, int32 index, pointer_sized_int value, void *ptr, float opt)

The host callback function type.

Constructor & Destructor Documentation

◆ ~VSTCallbackHandler()

virtual juce::VSTCallbackHandler::~VSTCallbackHandler ( )
inlinevirtual

Member Function Documentation

◆ handleVstHostCallbackAvailable()

virtual void juce::VSTCallbackHandler::handleVstHostCallbackAvailable ( std::function< VstHostCallbackType > &&  callback)
inlinevirtual

This is called once by the VST plug-in wrapper after its constructor.

You can use the supplied function to query the VST host.

References juce::ignoreUnused().

◆ handleVstManufacturerSpecific()

virtual pointer_sized_int juce::VSTCallbackHandler::handleVstManufacturerSpecific ( int32  index,
pointer_sized_int  value,
void *  ptr,
float  opt 
)
pure virtual

This is called by the VST plug-in wrapper when it receives unhandled vendor specific calls from the host.

Referenced by handleVstPluginCanDo().

◆ handleVstPluginCanDo()

virtual pointer_sized_int juce::VSTCallbackHandler::handleVstPluginCanDo ( int32  index,
pointer_sized_int  value,
void *  ptr,
float  opt 
)
inlinevirtual

This is called by the VST plug-in wrapper when it receives unhandled plug-in "can do" calls from the host.

References handleVstManufacturerSpecific(), and juce::ignoreUnused().


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