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 30 of file VST3Wrapper.h.

Constructor & Destructor Documentation

◆ SingleInputParameterValue()

SingleInputParameterValue::SingleInputParameterValue ( )
inline

Definition at line 36 of file VST3Wrapper.h.

36{ FUNKNOWN_CTOR }

◆ ~SingleInputParameterValue()

SingleInputParameterValue::~SingleInputParameterValue ( )
inline

Definition at line 37 of file VST3Wrapper.h.

37{ FUNKNOWN_DTOR }

Member Function Documentation

◆ addPoint()

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

Definition at line 381 of file VST3Wrapper.cpp.

383{
384 return Steinberg::kResultFalse;
385}

◆ getParameterId()

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

Definition at line 387 of file VST3Wrapper.cpp.

388{
389 return mParameterId;
390}
Steinberg::Vst::ParamID mParameterId
Definition: VST3Wrapper.h:32

References mParameterId.

◆ getPoint()

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

Definition at line 392 of file VST3Wrapper.cpp.

394{
395 sampleOffset = 0;
396 value = mValue;
397 return Steinberg::kResultOk;
398}
Steinberg::Vst::ParamValue mValue
Definition: VST3Wrapper.h:33

References mValue.

◆ getPointCount()

Steinberg::int32 SingleInputParameterValue::getPointCount ( )
override

Definition at line 400 of file VST3Wrapper.cpp.

401{
402 return 1;
403}

◆ Set()

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

Definition at line 375 of file VST3Wrapper.cpp.

376{
378 mValue = value;
379}
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 32 of file VST3Wrapper.h.

Referenced by getParameterId(), and Set().

◆ mValue

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

Definition at line 33 of file VST3Wrapper.h.

Referenced by getPoint(), and Set().


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