JUCE  v6.1.6 (6.0.8-1114)
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 ()=default
 
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.

To use this class, ensure that your AudioProcessor publicly inherits from VSTCallbackHandler.

See also
VST3ClientExtensions

@tags{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 ( )
virtualdefault

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.

◆ 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 juce::ignoreUnused(), juce::gl::index, and juce::gl::value.


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