39 const float m_frequency;
48 Sine& operator=(
const Sine&) =
delete;
61 float getFrequency()
const;
#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
Defines all important macros and basic data structures for stream format descriptions.
double SampleRate
Sample rate type.
Definition: Specification.h:115
This class represents a type of sound source and saves the necessary values for it.
Definition: ISound.h:39
44100 Hz.
Definition: Specification.h:108
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
virtual std::shared_ptr< IReader > createReader()=0
Creates a reader for playback of the sound source.
This sound creates a reader that plays a sine tone.
Definition: Sine.h:33