Audacity 3.2.0
Public Member Functions | Protected Attributes | List of all members
SBSMSEffectInterface Class Referencefinal
Inheritance diagram for SBSMSEffectInterface:
[legend]
Collaboration diagram for SBSMSEffectInterface:
[legend]

Public Member Functions

 SBSMSEffectInterface (Resampler *resampler, Slide *rateSlide, Slide *pitchSlide, bool bReferenceInput, const SampleCountType samples, long preSamples, SBSMSQuality *quality)
 
virtual ~SBSMSEffectInterface ()
 
long samples (audio *buf, long n)
 

Protected Attributes

Resampler * resampler
 

Detailed Description

Definition at line 69 of file SBSMSBase.cpp.

Constructor & Destructor Documentation

◆ SBSMSEffectInterface()

SBSMSEffectInterface::SBSMSEffectInterface ( Resampler *  resampler,
Slide *  rateSlide,
Slide *  pitchSlide,
bool  bReferenceInput,
const SampleCountType  samples,
long  preSamples,
SBSMSQuality *  quality 
)
inline

Definition at line 71 of file SBSMSBase.cpp.

76 : SBSMSInterfaceSliding(rateSlide,pitchSlide,bReferenceInput,samples,preSamples,quality)
77 {
78 this->resampler = resampler;
79 }
long samples(audio *buf, long n)
Definition: SBSMSBase.cpp:82
Resampler * resampler
Definition: SBSMSBase.cpp:87

References resampler.

◆ ~SBSMSEffectInterface()

virtual SBSMSEffectInterface::~SBSMSEffectInterface ( )
inlinevirtual

Definition at line 80 of file SBSMSBase.cpp.

80{}

Member Function Documentation

◆ samples()

long SBSMSEffectInterface::samples ( audio buf,
long  n 
)
inline

Definition at line 82 of file SBSMSBase.cpp.

82 {
83 return resampler->read(buf, n);
84 }

References resampler.

Member Data Documentation

◆ resampler

Resampler* SBSMSEffectInterface::resampler
protected

Definition at line 87 of file SBSMSBase.cpp.

Referenced by samples(), and SBSMSEffectInterface().


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