Audacity 3.2.0
Public Member Functions | Private Attributes | List of all members
SingleInputParameterValue Class Referencefinal

#include <VST3Wrapper.h>

Inheritance diagram for SingleInputParameterValue:
[legend]
Collaboration diagram for SingleInputParameterValue:
[legend]

Public Member Functions

 SingleInputParameterValue ()
 
 ~SingleInputParameterValue ()
 
void Set (Steinberg::Vst::ParamID id, const Steinberg::Vst::ParamValue value)
 
Steinberg::tresult PLUGIN_API addPoint (Steinberg::int32 sampleOffset, Steinberg::Vst::ParamValue value, Steinberg::int32 &index) override
 
Steinberg::Vst::ParamID PLUGIN_API getParameterId () override
 
Steinberg::tresult PLUGIN_API getPoint (Steinberg::int32 index, Steinberg::int32 &sampleOffset, Steinberg::Vst::ParamValue &value) override
 
Steinberg::int32 PLUGIN_API getPointCount () override
 

Private Attributes

Steinberg::Vst::ParamID mParameterId {}
 
Steinberg::Vst::ParamValue mValue
 

Detailed Description

Definition at line 29 of file VST3Wrapper.h.

Constructor & Destructor Documentation

◆ SingleInputParameterValue()

SingleInputParameterValue::SingleInputParameterValue ( )
inline

Definition at line 35 of file VST3Wrapper.h.

35{ FUNKNOWN_CTOR }

◆ ~SingleInputParameterValue()

SingleInputParameterValue::~SingleInputParameterValue ( )
inline

Definition at line 36 of file VST3Wrapper.h.

36{ FUNKNOWN_DTOR }

Member Function Documentation

◆ addPoint()

Steinberg::tresult SingleInputParameterValue::addPoint ( Steinberg::int32  sampleOffset,
Steinberg::Vst::ParamValue  value,
Steinberg::int32 &  index 
)
override

Definition at line 354 of file VST3Wrapper.cpp.

356{
357 return Steinberg::kResultFalse;
358}

◆ getParameterId()

Steinberg::Vst::ParamID SingleInputParameterValue::getParameterId ( )
override

Definition at line 360 of file VST3Wrapper.cpp.

361{
362 return mParameterId;
363}
Steinberg::Vst::ParamID mParameterId
Definition: VST3Wrapper.h:31

References mParameterId.

◆ getPoint()

Steinberg::tresult SingleInputParameterValue::getPoint ( Steinberg::int32  index,
Steinberg::int32 &  sampleOffset,
Steinberg::Vst::ParamValue &  value 
)
override

Definition at line 365 of file VST3Wrapper.cpp.

367{
368 sampleOffset = 0;
369 value = mValue;
370 return Steinberg::kResultOk;
371}
Steinberg::Vst::ParamValue mValue
Definition: VST3Wrapper.h:32

References mValue.

◆ getPointCount()

Steinberg::int32 SingleInputParameterValue::getPointCount ( )
override

Definition at line 373 of file VST3Wrapper.cpp.

374{
375 return 1;
376}

◆ Set()

void SingleInputParameterValue::Set ( Steinberg::Vst::ParamID  id,
const Steinberg::Vst::ParamValue  value 
)

Definition at line 348 of file VST3Wrapper.cpp.

349{
351 mValue = value;
352}
int id

References id, mParameterId, and mValue.

Referenced by anonymous_namespace{VST3Wrapper.cpp}::InputParameterChanges::InputParameterChanges().

Here is the caller graph for this function:

Member Data Documentation

◆ mParameterId

Steinberg::Vst::ParamID SingleInputParameterValue::mParameterId {}
private

Definition at line 31 of file VST3Wrapper.h.

Referenced by getParameterId(), and Set().

◆ mValue

Steinberg::Vst::ParamValue SingleInputParameterValue::mValue
private

Definition at line 32 of file VST3Wrapper.h.

Referenced by getPoint(), and Set().


The documentation for this class was generated from the following files: