|
Blender
V2.59
|
#include <AUD_SinusFactory.h>

Public Member Functions | |
| AUD_SinusFactory (float frequency, AUD_SampleRate sampleRate=AUD_RATE_44100) | |
| float | getFrequency () const |
| virtual AUD_IReader * | createReader () const |
This factory creates a reader that plays a sine tone.
Definition at line 40 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 36 of file AUD_SinusFactory.cpp.
| AUD_IReader * AUD_SinusFactory::createReader | ( | ) | const [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 47 of file AUD_SinusFactory.cpp.
| float AUD_SinusFactory::getFrequency | ( | ) | const |
Returns the frequency of the sine wave.
Definition at line 42 of file AUD_SinusFactory.cpp.