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 Types | Public Member Functions | List of all members
juce::VST2ClientExtensions Struct Referenceabstract

An interface to allow an AudioProcessor to implement extended VST2-specific functionality. More...

#include "juce_VST2ClientExtensions.h"

Public Types

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

Public Member Functions

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.
 
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.
 
virtual void handleVstHostCallbackAvailable (std::function< VstHostCallbackType > &&callback)
 This is called once by the VST plug-in wrapper after its constructor.
 

Detailed Description

An interface to allow an AudioProcessor to implement extended VST2-specific functionality.

To use this class, create an object that inherits from it, implement the methods, then return a pointer to the object in your AudioProcessor::getVST2ClientExtensions() method.

See also
AudioProcessor, AAXClientExtensions, VST3ClientExtensions

@tags{Audio}

Definition at line 39 of file juce_VST2ClientExtensions.h.

Member Typedef Documentation

◆ VstHostCallbackType

The host callback function type.

Definition at line 60 of file juce_VST2ClientExtensions.h.

Member Function Documentation

◆ handleVstHostCallbackAvailable()

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

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

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

Definition at line 37 of file juce_VST2ClientExtensions.cpp.

◆ handleVstPluginCanDo()

pointer_sized_int juce::VST2ClientExtensions::handleVstPluginCanDo ( int32  index,
pointer_sized_int  value,
void ptr,
float  opt 
)
virtual

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

Definition at line 29 of file juce_VST2ClientExtensions.cpp.


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