LMMS
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//------------------------------------------------------------------------
168
169//------------------------------------------------------------------------
170//------------------------------------------------------------------------
171// Colors
172//------------------------------------------------------------------------
175//------------------------------------------------------------------------
180
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//------------------------------------------------------------------------
Definition funknown.h:233
Definition funknown.h:361
Definition ivstchannelcontextinfo.h:149
static const FUID iid
Definition ivstchannelcontextinfo.h:154
virtual tresult PLUGIN_API setChannelContextInfos(IAttributeList *list)=0
Definition ivstattributes.h:41
#define DECLARE_CLASS_IID(ClassName, l1, l2, l3, l4)
Definition funknown.h:74
Definition ivstchannelcontextinfo.h:31
const CString kChannelIndexNamespaceLengthKey
Definition ivstchannelcontextinfo.h:223
ColorComponent GetRed(ColorSpec cs)
Definition ivstchannelcontextinfo.h:186
uint32 ColorSpec
Definition ivstchannelcontextinfo.h:177
const CString kChannelNameKey
Definition ivstchannelcontextinfo.h:201
ColorComponent GetAlpha(ColorSpec cs)
Definition ivstchannelcontextinfo.h:188
const CString kChannelUIDLengthKey
Definition ivstchannelcontextinfo.h:198
ColorComponent GetBlue(ColorSpec cs)
Definition ivstchannelcontextinfo.h:182
const CString kChannelIndexNamespaceKey
Definition ivstchannelcontextinfo.h:220
ColorComponent GetGreen(ColorSpec cs)
Definition ivstchannelcontextinfo.h:184
const CString kChannelIndexNamespaceOrderKey
Definition ivstchannelcontextinfo.h:217
const CString kChannelPluginLocationKey
Definition ivstchannelcontextinfo.h:229
const CString kChannelNameLengthKey
Definition ivstchannelcontextinfo.h:204
ChannelPluginLocation
Definition ivstchannelcontextinfo.h:163
@ kPostVolumeFader
Definition ivstchannelcontextinfo.h:165
@ kPreVolumeFader
Definition ivstchannelcontextinfo.h:164
@ kUsedAsPanner
Definition ivstchannelcontextinfo.h:166
const CString kChannelColorKey
Definition ivstchannelcontextinfo.h:207
const CString kChannelIndexKey
Definition ivstchannelcontextinfo.h:210
const CString kChannelImageKey
Definition ivstchannelcontextinfo.h:226
uint8 ColorComponent
Definition ivstchannelcontextinfo.h:178
const CString kChannelUIDKey
Definition ivstchannelcontextinfo.h:195
Definition ivstattributes.h:28
const char8 * CString
C-String.
Definition vsttypes.h:64
Definition baseiids.cpp:43
unsigned char uint8
Definition ftypes.h:40
int32 tresult
Definition ftypes.h:76
unsigned int uint32
Definition ftypes.h:51