![]() |
Audacity 3.2.0
|
#include "SBSMSEffect.h"
#include <math.h>
#include "../LabelTrack.h"
#include "../SyncLock.h"
#include "../WaveClip.h"
#include "../WaveTrack.h"
#include "TimeWarper.h"
Go to the source code of this file.
Classes | |
class | ResampleBuf |
class | SBSMSEffectInterface |
Enumerations | |
enum | { SBSMSOutBlockSize = 512 } |
Functions | |
long | resampleCB (void *cb_data, SBSMSFrame *data) |
long | postResampleCB (void *cb_data, SBSMSFrame *data) |
std::unique_ptr< TimeWarper > | createTimeWarper (double t0, double t1, double duration, double rateStart, double rateEnd, SlideType rateSlideType) |
anonymous enum |
Enumerator | |
---|---|
SBSMSOutBlockSize |
Definition at line 27 of file SBSMSEffect.cpp.
std::unique_ptr< TimeWarper > createTimeWarper | ( | double | t0, |
double | t1, | ||
double | duration, | ||
double | rateStart, | ||
double | rateEnd, | ||
SlideType | rateSlideType | ||
) |
Definition at line 169 of file SBSMSEffect.cpp.
Referenced by EffectSBSMS::Process(), and EffectSBSMS::ProcessLabelTrack().
long postResampleCB | ( | void * | cb_data, |
SBSMSFrame * | data | ||
) |
Definition at line 137 of file SBSMSEffect.cpp.
References ResampleBuf::iface, ResampleBuf::ratio, ResampleBuf::sbsms, ResampleBuf::SBSMSBlockSize, and ResampleBuf::SBSMSBuf.
Referenced by EffectSBSMS::Process().
long resampleCB | ( | void * | cb_data, |
SBSMSFrame * | data | ||
) |
Definition at line 89 of file SBSMSEffect.cpp.
References sampleCount::as_float(), ResampleBuf::bPitch, ResampleBuf::buf, ResampleBuf::end, WaveTrack::GetBestBlockSize(), SampleTrack::GetFloats(), ResampleBuf::iface, ResampleBuf::leftBuffer, ResampleBuf::leftTrack, limitSampleBufferSize(), ResampleBuf::mpException, ResampleBuf::offset, ResampleBuf::processed, ResampleBuf::ratio, ResampleBuf::rightBuffer, and ResampleBuf::rightTrack.
Referenced by EffectSBSMS::Process().