LMMS
Loading...
Searching...
No Matches
juce::VSTCallbackHandler Struct Referenceabstract

#include <juce_VSTCallbackHandler.h>

Public Types

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

Public Member Functions

virtual ~VSTCallbackHandler ()=default
virtual pointer_sized_int handleVstPluginCanDo (int32 index, pointer_sized_int value, void *ptr, float opt)
virtual pointer_sized_int handleVstManufacturerSpecific (int32 index, pointer_sized_int value, void *ptr, float opt)=0
virtual void handleVstHostCallbackAvailable (std::function< VstHostCallbackType > &&callback)

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.

◆ 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.


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