VST2SDK
A recreation of the popular Steinberg VST 2.x SDK.
Loading...
Searching...
No Matches
vst.hpp
Go to the documentation of this file.
1
/* An attempt at an untained clean room reimplementation of the widely popular VST 2.x SDK.
2
* Copyright (c) 2020 Xaymar Dirks <info@xaymar.com> (previously known as Michael Fabian Dirks)
3
*
4
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
5
* following conditions are met:
6
*
7
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
8
* disclaimer.
9
*
10
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
11
* following disclaimer in the documentation and/or other materials provided with the distribution.
12
*
13
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
14
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
16
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
17
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
18
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
19
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20
*/
21
22
// Please refer to README.md and LICENSE for further information.
23
24
// Protect against double inclusion in practically every compiler available.
25
#
pragma
once
26
#
ifndef
VST2SDK_VST_HPP
27
#
define
VST2SDK_VST_HPP
28
29
#
include
"vst.h"
30
31
// Variable size variant of vst_speaker_arrangement.
32
template
<size_t T>
33
struct
vst_speaker_arrangement_dynamic_t
{
34
VST_SPEAKER_ARRANGEMENT_TYPE
type
;
// See VST_SPEAKER_ARRANGEMENT_TYPE
35
int32_t
channels
;
// Number of channels in speakers.
36
vst_speaker_properties_t
speakers
[T];
// Array of speaker properties, actual size defined by channels.
37
};
38
39
#
endif
vst_speaker_arrangement_dynamic_t
Definition
vst.hpp:33
vst_speaker_arrangement_dynamic_t::speakers
vst_speaker_properties_t speakers[T]
Definition
vst.hpp:36
vst_speaker_arrangement_dynamic_t::channels
int32_t channels
Definition
vst.hpp:35
vst_speaker_arrangement_dynamic_t::type
VST_SPEAKER_ARRANGEMENT_TYPE type
Definition
vst.hpp:34
vst_speaker_properties_t
Speaker properties.
Definition
vst.h:639
VST_SPEAKER_ARRANGEMENT_TYPE
VST_SPEAKER_ARRANGEMENT_TYPE
Known default speaker arrangements.
Definition
vst.h:688
include
vst.hpp
Generated on Mon Aug 18 2025 01:26:19 for VST2SDK by
1.9.8