|
utility 2026.1.9
A comprehensive C++ utilities library tailored for the development of modern desktop and extended reality (XR) applications.
|
Payload associated with an AudioCommand. More...
#include <headers/utility/sound/audio_manager.hpp>
Public Attributes | |
| math::Vector3F | position |
| New world-space position of the audio source. | |
| float | gain |
| Gain multiplier applied to the source. | |
| float | pitch |
| Playback pitch multiplier. | |
| bool | looping |
| Indicates whether playback should loop. | |
| ALuint | bufferID |
| OpenAL buffer identifier. | |
Payload associated with an AudioCommand.
The active member depends on the value of AudioCommand::type.
The mapping is as follows:
Commands that do not require additional data ignore this payload.
Definition at line 83 of file audio_manager.hpp.
| ALuint utility::sound::CommandData::bufferID |
OpenAL buffer identifier.
Definition at line 107 of file audio_manager.hpp.
| float utility::sound::CommandData::gain |
Gain multiplier applied to the source.
Definition at line 92 of file audio_manager.hpp.
| bool utility::sound::CommandData::looping |
Indicates whether playback should loop.
Definition at line 102 of file audio_manager.hpp.
| float utility::sound::CommandData::pitch |
Playback pitch multiplier.
Definition at line 97 of file audio_manager.hpp.
| math::Vector3F utility::sound::CommandData::position |
New world-space position of the audio source.
Definition at line 87 of file audio_manager.hpp.