40 std::shared_ptr<ISound> m_sound;
45 std::shared_ptr<VolumeStorage> m_volumeStorage;
57 VolumeSound(std::shared_ptr<ISound> sound, std::shared_ptr<VolumeStorage> volumeStorage);
65 std::shared_ptr<VolumeStorage> getSharedVolume();
71 void setSharedVolume(std::shared_ptr<VolumeStorage> volumeStorage);
#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 class represents a type of sound source and saves the necessary values for it.
Definition: ISound.h:39
This class allows to create a sound with its own volume.
Definition: VolumeSound.h:34
#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.