Blender V2.61 - r43446
Public Member Functions

AUD_PitchReader Class Reference

#include <AUD_PitchReader.h>

Inheritance diagram for AUD_PitchReader:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AUD_PitchReader (AUD_Reference< AUD_IReader > reader, float pitch)
virtual AUD_Specs getSpecs () const
float getPitch () const
void setPitch (float pitch)

Detailed Description

This class reads another reader and changes it's pitch.

Definition at line 38 of file AUD_PitchReader.h.


Constructor & Destructor Documentation

AUD_PitchReader::AUD_PitchReader ( AUD_Reference< AUD_IReader reader,
float  pitch 
)

Creates a new pitch reader.

Parameters:
readerThe reader to read from.
pitchThe pitch value.

Definition at line 32 of file AUD_PitchReader.cpp.


Member Function Documentation

float AUD_PitchReader::getPitch ( ) const

Retrieves the pitch.

Returns:
The current pitch value.

Definition at line 44 of file AUD_PitchReader.cpp.

AUD_Specs AUD_PitchReader::getSpecs ( ) const [virtual]

Returns the specification of the reader.

Returns:
The AUD_Specs structure.

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.

Parameters:
pitchThe new pitch value.

Definition at line 49 of file AUD_PitchReader.cpp.


The documentation for this class was generated from the following files: