|
Audaspace 1.7.0
A high level audio library.
|
This class stores a volume value and allows to change if for a number of sounds in one go. More...
#include <VolumeStorage.h>
Public Member Functions | |
| VolumeStorage () | |
| Creates a new VolumeStorage instance with volume 1. | |
| VolumeStorage (float volume) | |
| Creates a VolumeStorage instance with an initial value. | |
| float | getVolume () |
| Retrieves the current volume value. | |
| void | setVolume (float volume) |
| Changes the volume value. | |
This class stores a volume value and allows to change if for a number of sounds in one go.
| VolumeStorage::VolumeStorage | ( | float | volume | ) |
Creates a VolumeStorage instance with an initial value.
| volume | The value of the volume. |
| float VolumeStorage::getVolume | ( | ) |
Retrieves the current volume value.
| void VolumeStorage::setVolume | ( | float | volume | ) |
Changes the volume value.
| volume | The new value for the volume. |