Audaspace
1.3.0
A high level audio library.
|
double SampleRate
Sample rate type.
Definition: Specification.h:106
Square(float frequency, SampleRate sampleRate=RATE_48000)
Creates a new square sound.
This class represents a type of sound source and saves the necessary values for it.
Definition: ISound.h:40
virtual std::shared_ptr< IReader > createReader()
Creates a reader for playback of the sound source.
float getFrequency() const
Returns the frequency of the square wave.
@ RATE_48000
44100 Hz.
Definition: Specification.h:99
Defines all important macros and basic data structures for stream format descriptions.
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
This sound creates a reader that plays a square tone.
Definition: Square.h:34
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition: Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:93