![]() |
Blender V2.61 - r43446
|
#include <AUD_SinusFactory.h>

Public Member Functions | |
| AUD_SinusFactory (float frequency, AUD_SampleRate sampleRate=AUD_RATE_44100) | |
| float | getFrequency () const |
| virtual AUD_Reference < AUD_IReader > | createReader () |
This factory creates a reader that plays a sine tone.
Definition at line 38 of file AUD_SinusFactory.h.
| AUD_SinusFactory::AUD_SinusFactory | ( | float | frequency, |
| AUD_SampleRate | sampleRate = AUD_RATE_44100 |
||
| ) |
Creates a new sine factory.
| frequency | The desired frequency. |
| sampleRate | The target sample rate for playback. |
Definition at line 34 of file AUD_SinusFactory.cpp.
| AUD_Reference< AUD_IReader > AUD_SinusFactory::createReader | ( | ) | [virtual] |
Creates a reader for playback of the sound source.
| AUD_Exception | An exception may be thrown if there has been a more unexpected error during reader creation. |
Implements AUD_IFactory.
Definition at line 45 of file AUD_SinusFactory.cpp.
| float AUD_SinusFactory::getFrequency | ( | ) | const |
Returns the frequency of the sine wave.
Definition at line 40 of file AUD_SinusFactory.cpp.