54 return m_sound->createReader();
62 Effect(std::shared_ptr<ISound> sound);
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
#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
This sound is a base class for all effect factories that take one other sound as input.
Definition Effect.h:34
std::shared_ptr< ISound > getSound() const
Returns the saved sound.
virtual ~Effect()
Destroys the sound.
std::shared_ptr< ISound > m_sound
If there is no reader it is created out of this sound.
Definition Effect.h:44
std::shared_ptr< IReader > getReader() const
Returns the reader created out of the sound.
Definition Effect.h:52
Effect(std::shared_ptr< ISound > sound)
Creates a new sound.
This class represents a type of sound source and saves the necessary values for it.
Definition ISound.h:40