52 Volume(std::shared_ptr<ISound> sound,
float volume);
#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
This sound changes the volume of another sound.
Definition Volume.h:35
virtual std::shared_ptr< IReader > createReader()
Creates a reader for playback of the sound source.
Volume(std::shared_ptr< ISound > sound, float volume)
Creates a new volume sound.
float getVolume() const
Returns the volume.