40 std::atomic<float> m_volume;
The main header file of the library defining the namespace and basic data types.
#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 class stores a volume value and allows to change if for a number of sounds in one go.
Definition VolumeStorage.h:35
void setVolume(float volume)
Changes the volume value.
VolumeStorage(float volume)
Creates a VolumeStorage instance with an initial value.
VolumeStorage()
Creates a new VolumeStorage instance with volume 1.
float getVolume()
Retrieves the current volume value.