#include <aflibAudioPitch.h>
Inheritance diagram for aflibAudioPitch::
Public Methods | |
aflibAudioPitch (aflibAudio &audio, double factor, bool linear_interpolation=FALSE, bool high_quality=FALSE, bool filter_interpolation=FALSE) | |
Constructor. More... | |
~aflibAudioPitch () | |
Destructor. | |
void | setInputConfig (const aflibConfig &cfg) |
Sets the input and output sample rates of this class. More... | |
const char* | getName () const |
Returns the name of the derived class. |
This class is derived from the aflibAudioSampleRateCvt class. It only overrides the setInputConfig and getName functions. This is so that it can keep the output and input sample rates the same even thought they are changing. This gives the illusion of pitch changing.
|
Constructor. This constructor overides the aflibAudioSampleRateCvt base class constructor. It provides the ability to set the quality of the sample rate conversion and the sample rate conversion factor. For more information on these see the documentation for the aflibAudioSampleRateCvt constructor. |
|
Destructor.
|
|
Returns the name of the derived class.
Reimplemented from aflibAudioSampleRateCvt. |
|
Sets the input and output sample rates of this class. This function overrides the aflibAudioSampleRateCvt base class function. It will NOT change the output sample rate in the output audio configuration. By keeping the input and output sample rates the same even thought they are changing this gives the illusion of pitch changing. Reimplemented from aflibAudioSampleRateCvt. |