#include <VSTWrapper.h>
|
using | ParamVector = std::vector< std::optional< double > > |
|
Definition at line 298 of file VSTWrapper.h.
◆ ParamVector
◆ VSTMessage() [1/2]
VSTMessage::VSTMessage |
( |
std::vector< char > |
chunk, |
|
|
ParamVector |
params |
|
) |
| |
|
inlineexplicit |
Definition at line 303 of file VSTWrapper.h.
304 :
mChunk(std::move(chunk)),
306 {
307 }
EffectDistortionSettings params
std::vector< char > mChunk
◆ VSTMessage() [2/2]
VSTMessage::VSTMessage |
( |
int |
id, |
|
|
double |
value, |
|
|
size_t |
numParams |
|
) |
| |
|
inlineexplicit |
◆ ~VSTMessage()
VSTMessage::~VSTMessage |
( |
| ) |
|
|
overridedefault |
◆ Assign()
void VSTMessage::Assign |
( |
Message && |
src | ) |
|
|
override |
◆ Clone()
auto VSTMessage::Clone |
( |
| ) |
const |
|
overridevirtual |
◆ Merge()
void VSTMessage::Merge |
( |
Message && |
src | ) |
|
|
override |
Definition at line 270 of file VSTWrapper.cpp.
271{
273
274 bool chunkWasAssigned = false;
275
276 if ( ! vstSrc.
mChunk.empty() )
277 {
279 chunkWasAssigned = true;
280 }
281
283
285
286 for (
size_t i = 0; i <
mParamsVec.size(); i++)
287 {
288 if (chunkWasAssigned)
289 {
291 }
292 else
293 {
294
296 {
298 }
299 }
300
301
303 }
304
305}
References VSTWrapper::mChunk, mChunk, and mParamsVec.
◆ mChunk
std::vector<char> VSTMessage::mChunk |
◆ mParamsVec
The documentation for this struct was generated from the following files: