Blender V2.61 - r43446
|
#include <AUD_PitchReader.h>
Public Member Functions | |
AUD_PitchReader (AUD_Reference< AUD_IReader > reader, float pitch) | |
virtual AUD_Specs | getSpecs () const |
float | getPitch () const |
void | setPitch (float pitch) |
This class reads another reader and changes it's pitch.
Definition at line 38 of file AUD_PitchReader.h.
AUD_PitchReader::AUD_PitchReader | ( | AUD_Reference< AUD_IReader > | reader, |
float | pitch | ||
) |
Creates a new pitch reader.
reader | The reader to read from. |
pitch | The pitch value. |
Definition at line 32 of file AUD_PitchReader.cpp.
float AUD_PitchReader::getPitch | ( | ) | const |
Retrieves the pitch.
Definition at line 44 of file AUD_PitchReader.cpp.
AUD_Specs AUD_PitchReader::getSpecs | ( | ) | const [virtual] |
Returns the specification of the reader.
Reimplemented from AUD_EffectReader.
Definition at line 37 of file AUD_PitchReader.cpp.
References AUD_EffectReader::m_reader, and AUD_Specs::rate.
void AUD_PitchReader::setPitch | ( | float | pitch | ) |
Sets the pitch.
pitch | The new pitch value. |
Definition at line 49 of file AUD_PitchReader.cpp.