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

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 SBSMSEffect.cpp.

Constructor & Destructor Documentation

◆ SBSMSEffectInterface()

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

Definition at line 71 of file SBSMSEffect.cpp.

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

References resampler.

◆ ~SBSMSEffectInterface()

virtual SBSMSEffectInterface::~SBSMSEffectInterface ( )

Definition at line 80 of file SBSMSEffect.cpp.


Member Function Documentation

◆ samples()

long SBSMSEffectInterface::samples ( audio buf,
long  n 

Definition at line 82 of file SBSMSEffect.cpp.

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

References resampler.

Member Data Documentation

◆ resampler

Resampler* SBSMSEffectInterface::resampler

Definition at line 87 of file SBSMSEffect.cpp.

Referenced by samples(), and SBSMSEffectInterface().

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