Blender V2.61 - r43446
|
#include <AUD_ResampleReader.h>
Public Member Functions | |
virtual void | setRate (AUD_SampleRate rate) |
virtual AUD_SampleRate | getRate () |
Protected Member Functions | |
AUD_ResampleReader (AUD_Reference< AUD_IReader > reader, AUD_SampleRate rate) | |
Protected Attributes | |
AUD_SampleRate | m_rate |
This is the base class for all resampling readers.
Definition at line 37 of file AUD_ResampleReader.h.
AUD_ResampleReader::AUD_ResampleReader | ( | AUD_Reference< AUD_IReader > | reader, |
AUD_SampleRate | rate | ||
) | [protected] |
Creates a resampling reader.
reader | The reader to mix. |
rate | The target sampling rate. |
Definition at line 32 of file AUD_ResampleReader.cpp.
AUD_SampleRate AUD_ResampleReader::getRate | ( | ) | [virtual] |
Retrieves the sample rate.
Definition at line 42 of file AUD_ResampleReader.cpp.
References m_rate.
void AUD_ResampleReader::setRate | ( | AUD_SampleRate | rate | ) | [virtual] |
Sets the sample rate.
rate | The target sampling rate. |
Definition at line 37 of file AUD_ResampleReader.cpp.
References m_rate.
AUD_SampleRate AUD_ResampleReader::m_rate [protected] |
The target sampling rate.
Definition at line 43 of file AUD_ResampleReader.h.
Referenced by AUD_SRCResampleReader::doCallback(), AUD_LinearResampleReader::getLength(), AUD_SRCResampleReader::getLength(), AUD_LinearResampleReader::getPosition(), getRate(), AUD_SRCResampleReader::getSpecs(), AUD_LinearResampleReader::getSpecs(), AUD_LinearResampleReader::read(), AUD_SRCResampleReader::read(), AUD_SRCResampleReader::seek(), AUD_LinearResampleReader::seek(), and setRate().