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
juce_VST3ClientExtensions.h
Go to the documentation of this file.
1 /*
2 ==============================================================================
3
4 This file is part of the JUCE library.
5 Copyright (c) 2022 - Raw Material Software Limited
6
7 JUCE is an open source library subject to commercial or open-source
8 licensing.
9
10 By using JUCE, you agree to the terms of both the JUCE 7 End-User License
11 Agreement and JUCE Privacy Policy.
12
13 End User License Agreement: www.juce.com/juce-7-licence
14 Privacy Policy: www.juce.com/juce-privacy-policy
15
16 Or: You may also use this code under the terms of the GPL v3 (see
17 www.gnu.org/licenses).
18
19 JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
20 EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
21 DISCLAIMED.
22
23 ==============================================================================
24*/
25
26#ifndef DOXYGEN
27
28// Forward declaration to avoid leaking implementation details.
29namespace Steinberg
30{
31 class FUnknown;
32 using TUID = char[16];
33} // namespace Steinberg
34
35#endif
36
37namespace juce
38{
39
51{
52 virtual ~VST3ClientExtensions() = default;
53
58 virtual int32_t queryIEditController (const Steinberg::TUID, void** obj)
59 {
60 *obj = nullptr;
61 return -1;
62 }
63
68 virtual int32_t queryIAudioProcessor (const Steinberg::TUID, void** obj)
69 {
70 *obj = nullptr;
71 return -1;
72 }
73
81
89
96 virtual bool getPluginHasMainInput() const { return true; }
97
107 virtual std::vector<String> getCompatibleClasses() const { return {}; }
108};
109
110} // namespace juce
The basic interface of all interfaces.
Definition funknown.h:375
char TUID[16]
plain UID type
Definition funknown.h:209
JUCE Namespace.
typedef int32_t
An interface to allow an AudioProcessor to implement extended VST3-specific functionality.
virtual std::vector< String > getCompatibleClasses() const
This function should return the UIDs of any compatible VST2 plug-ins.
virtual int32_t queryIAudioProcessor(const Steinberg::TUID, void **obj)
This function may be used by implementations of queryInterface() in the VST3's implementation of IAud...
virtual int32_t queryIEditController(const Steinberg::TUID, void **obj)
This function may be used by implementations of queryInterface() in the VST3's implementation of IEdi...
virtual void setIHostApplication(Steinberg::FUnknown *)
This may be called shortly after the AudioProcessor is constructed with the current IHostApplication.
virtual void setIComponentHandler(Steinberg::FUnknown *)
This may be called by the VST3 wrapper when the host sets an IComponentHandler for the plugin to use.
virtual bool getPluginHasMainInput() const
This function will be called to check whether the first input bus should be designated as "kMain" or ...