|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Deferred playback request awaiting its clip's async payload. More...
Public Attributes | |
| Assets::AudioClipHandle | clip |
| Clip handle whose payload this request waits on. | |
| std::string | assetPath |
| Source path of the clip (matches the pipeline's load path). | |
| float | volume = 1.0f |
| Volume multiplier requested at play time. | |
| bool | loop = false |
| Whether the sound should loop. | |
| std::optional< glm::vec3 > | worldPosition |
| World position for spatialized playback, or nullopt for non-spatialized. | |
Deferred playback request awaiting its clip's async payload.
A play()/playSpatialized() call for a valid clip whose payload is still loading allocates a handle immediately and parks the request here; when the payload lands (onAudioLoaded) the sound is started against that same handle (issue #12 Phase D, "swap at the end of the handle").
Definition at line 311 of file AudioEngine.h.
| std::string Engine::Core::AudioEngine::PendingPlay::assetPath |
Source path of the clip (matches the pipeline's load path).
Definition at line 320 of file AudioEngine.h.
| Assets::AudioClipHandle Engine::Core::AudioEngine::PendingPlay::clip |
Clip handle whose payload this request waits on.
Definition at line 315 of file AudioEngine.h.
| bool Engine::Core::AudioEngine::PendingPlay::loop = false |
Whether the sound should loop.
Definition at line 330 of file AudioEngine.h.
| float Engine::Core::AudioEngine::PendingPlay::volume = 1.0f |
Volume multiplier requested at play time.
Definition at line 325 of file AudioEngine.h.
| std::optional<glm::vec3> Engine::Core::AudioEngine::PendingPlay::worldPosition |
World position for spatialized playback, or nullopt for non-spatialized.
Definition at line 335 of file AudioEngine.h.