Mixxx

EngineBufferScaleST Class Reference

#include <enginebufferscalest.h>

Inheritance diagram for EngineBufferScaleST:
Collaboration diagram for EngineBufferScaleST:

List of all members.

Public Slots

void slotSetSamplerate (double dSampleRate)

Public Member Functions

 EngineBufferScaleST (ReadAheadManager *pReadAheadManager)
 ~EngineBufferScaleST ()
void setPitchIndpTimeStretch (bool b)
bool getPitchIndpTimeStretch (void)
CSAMPLEscale (double playpos, unsigned long buf_size, CSAMPLE *pBase, unsigned long iBaseLength)
double setTempo (double dTempo)
void setBaseRate (double dBaseRate)
void clear ()

Detailed Description

Performs time scaling of audio based on the SoundTouch library.

Definition at line 45 of file enginebufferscalest.h.


Constructor & Destructor Documentation

EngineBufferScaleST::EngineBufferScaleST ( ReadAheadManager pReadAheadManager)

Definition at line 30 of file enginebufferscalest.cpp.

Here is the call graph for this function:

EngineBufferScaleST::~EngineBufferScaleST ( )

Definition at line 55 of file enginebufferscalest.cpp.


Member Function Documentation

void EngineBufferScaleST::clear ( ) [virtual]

Flush buffer

Implements EngineBufferScale.

Definition at line 99 of file enginebufferscalest.cpp.

Here is the caller graph for this function:

bool EngineBufferScaleST::getPitchIndpTimeStretch ( void  )

Definition at line 72 of file enginebufferscalest.cpp.

CSAMPLE * EngineBufferScaleST::scale ( double  playpos,
unsigned long  buf_size,
CSAMPLE pBase,
unsigned long  iBaseLength 
) [virtual]

Scale buffer

Parameters:
playposThe play position in the EngineBuffer (in samples)
buf_sizeThe size of the audio buffer to scale (in samples)
pBasePointer to the source audio to scale.
iBaseLengththe length of the source audio available

Implements EngineBufferScale.

Definition at line 164 of file enginebufferscalest.cpp.

Here is the call graph for this function:

void EngineBufferScaleST::setBaseRate ( double  dBaseRate) [virtual]

Set base rate

Implements EngineBufferScale.

Definition at line 78 of file enginebufferscalest.cpp.

void EngineBufferScaleST::setPitchIndpTimeStretch ( bool  b)

Toggle pitch independent time stretch

Definition at line 61 of file enginebufferscalest.cpp.

double EngineBufferScaleST::setTempo ( double  dTempo) [virtual]

Set tempo

Implements EngineBufferScale.

Definition at line 119 of file enginebufferscalest.cpp.

Here is the call graph for this function:

void EngineBufferScaleST::slotSetSamplerate ( double  dSampleRate) [slot]

Definition at line 107 of file enginebufferscalest.cpp.

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines