54 return m_sound->createReader();
62 Effect(std::shared_ptr<ISound> sound);
73 std::shared_ptr<ISound> getSound()
const;
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition: Audaspace.h:116
std::shared_ptr< IReader > getReader() const
Returns the reader created out of the sound.
Definition: Effect.h:52
#define AUD_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:93
std::shared_ptr< ISound > m_sound
If there is no reader it is created out of this sound.
Definition: Effect.h:44
This class represents a type of sound source and saves the necessary values for it.
Definition: ISound.h:39
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
This sound is a base class for all effect factories that take one other sound as input.
Definition: Effect.h:33