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
ivstchannelcontextinfo.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------
2// Project : VST SDK
3//
4// Category : Interfaces
5// Filename : pluginterfaces/vst/ivstchannelcontextinfo.h
6// Created by : Steinberg, 02/2014
7// Description : VST Channel Context Info Interface
8//
9//-----------------------------------------------------------------------------
10// This file is part of a Steinberg SDK. It is subject to the license terms
11// in the LICENSE file found in the top-level directory of this distribution
12// and at www.steinberg.net/sdklicenses.
13// No part of the SDK, including this file, may be copied, modified, propagated,
14// or distributed except according to the terms contained in the LICENSE file.
15//-----------------------------------------------------------------------------
16
17#pragma once
18
21
22//------------------------------------------------------------------------
24//------------------------------------------------------------------------
25
26//------------------------------------------------------------------------
27namespace Steinberg {
28namespace Vst {
29
31namespace ChannelContext {
32
33//------------------------------------------------------------------------
34//------------------------------------------------------------------------
35//------------------------------------------------------------------------
36
37//------------------------------------------------------------------------
38//------------------------------------------------------------------------
149{
150public:
152 virtual tresult PLUGIN_API setChannelContextInfos (IAttributeList* list) = 0;
153
154 static const FUID iid;
155};
156
157DECLARE_CLASS_IID (IInfoListener, 0x0F194781, 0x8D984ADA, 0xBBA0C1EF, 0xC011D8D0)
158
159
160//------------------------------------------------------------------------
163{
164 kPreVolumeFader = 0,
165 kPostVolumeFader,
166 kUsedAsPanner
167};
168
169//------------------------------------------------------------------------
170//------------------------------------------------------------------------
171// Colors
172//------------------------------------------------------------------------
175//------------------------------------------------------------------------
177typedef uint32 ColorSpec;
178typedef uint8 ColorComponent;
182inline ColorComponent GetBlue (ColorSpec cs) {return (ColorComponent)(cs & 0x000000FF); }
184inline ColorComponent GetGreen (ColorSpec cs) {return (ColorComponent)((cs >> 8) & 0x000000FF); }
186inline ColorComponent GetRed (ColorSpec cs) {return (ColorComponent)((cs >> 16) & 0x000000FF); }
188inline ColorComponent GetAlpha (ColorSpec cs) {return (ColorComponent)((cs >> 24) & 0x000000FF); }
189
190//------------------------------------------------------------------------
193//------------------------------------------------------------------------
195const CString kChannelUIDKey = "channel uid";
196
198const CString kChannelUIDLengthKey = "channel uid length";
199
201const CString kChannelNameKey = "channel name";
202
204const CString kChannelNameLengthKey = "channel name length";
205
207const CString kChannelColorKey = "channel color";
208
210const CString kChannelIndexKey = "channel index";
211
217const CString kChannelIndexNamespaceOrderKey = "channel index namespace order";
218
220const CString kChannelIndexNamespaceKey = "channel index namespace";
221
223const CString kChannelIndexNamespaceLengthKey = "channel index namespace length";
224
226const CString kChannelImageKey = "channel image";
227
229const CString kChannelPluginLocationKey = "channel plugin location";
230
231//------------------------------------------------------------------------
232} // namespace ChannelContext
233} // namespace Vst
234} // namespace Steinberg
235
236//------------------------------------------------------------------------
238//------------------------------------------------------------------------
Handling 16 Byte Globally Unique Identifiers.
Definition funknown.h:241
The basic interface of all interfaces.
Definition funknown.h:375
Channel context interface: Vst::IInfoListener.
virtual tresult PLUGIN_API setChannelContextInfos(IAttributeList *list)=0
Receive the channel context infos from host.
Attribute list used in IMessage and IStreamAttributes: Vst::IAttributeList.
const CString kChannelIndexNamespaceLengthKey
integer (int64) [optional]: number of characters in kChannelIndexNamespaceKey
ColorComponent GetRed(ColorSpec cs)
Returns the Red part of the given ColorSpec.
uint32 ColorSpec
ARGB (Alpha-Red-Green-Blue)
const CString kChannelNameKey
string (TChar) [optional]: name of the channel like displayed in the mixer
ColorComponent GetAlpha(ColorSpec cs)
Returns the Alpha part of the given ColorSpec.
const CString kChannelUIDLengthKey
integer (int64) [optional]: number of characters in kChannelUIDKey
ColorComponent GetBlue(ColorSpec cs)
Returns the Blue part of the given ColorSpec.
const CString kChannelIndexNamespaceKey
string (TChar) [optional]: name of the channel index namespace for example "Input",...
ColorComponent GetGreen(ColorSpec cs)
Returns the Green part of the given ColorSpec.
const CString kChannelIndexNamespaceOrderKey
integer (int64) [optional]: define the order of the current used index namespace, start with 1 not 0!...
const CString kChannelPluginLocationKey
integer (int64) [optional]: routing position of the plug-in in the channel (see ChannelPluginLocation...
const CString kChannelNameLengthKey
integer (int64) [optional]: number of characters in kChannelNameKey
ChannelPluginLocation
Values used for kChannelPluginLocationKey.
const CString kChannelColorKey
color (ColorSpec) [optional]: used color for the channel in mixer or track
const CString kChannelIndexKey
integer (int64) [optional]: index of the channel in a channel index namespace, start with 1 not * 0!
const CString kChannelImageKey
PNG image representation as binary [optional].
const CString kChannelUIDKey
Keys used as AttrID (Attribute ID) in the return IAttributeList of IInfoListener::setChannelContextIn...
const char8 * CString
C-String.
Definition vsttypes.h:70