|
utility 2026.1.9
A comprehensive C++ utilities library tailored for the development of modern desktop and extended reality (XR) applications.
|
Represents a command submitted to the audio thread. More...
#include <headers/utility/sound/audio_manager.hpp>

Public Attributes | |
| AudioCommandType | type |
| Type of operation to execute. | |
| uint32_t | sourceID |
| Identifier of the target audio source. | |
| CommandData | data {} |
| Command-specific payload. | |
Represents a command submitted to the audio thread.
AudioCommand instances are queued through AudioManager::submitCommand() and executed asynchronously by the dedicated audio thread.
Definition at line 119 of file audio_manager.hpp.
| CommandData utility::sound::AudioCommand::data {} |
Command-specific payload.
The active member depends on the value of type.
Commands that do not require additional parameters ignore this field.
Definition at line 138 of file audio_manager.hpp.
| uint32_t utility::sound::AudioCommand::sourceID |
Identifier of the target audio source.
Definition at line 128 of file audio_manager.hpp.
| AudioCommandType utility::sound::AudioCommand::type |
Type of operation to execute.
Definition at line 123 of file audio_manager.hpp.