Struct dalia::SoundHandle¶
ClassList > dalia > SoundHandle
Handle used to manage loaded sounds. This handle expires once the sound it is referencing is unloaded.
#include <SoundControl.h>
Public Functions¶
| Type | Name |
|---|---|
| uint64_t | GetRawId () const |
| SoundType | GetType () const |
| bool | IsValid () const |
| SoundHandle () = default |
|
| SoundHandle (uint64_t rawId) |
|
| bool | operator!= (const SoundHandle & other) const |
| bool | operator== (const SoundHandle & other) const |
Public Functions Documentation¶
function GetRawId¶
Returns:
The underlying raw id of the handle.
function GetType¶
Returns:
The type of sound (stream or resident) that this handle references.
function IsValid¶
Returns:
true if the handle has referenced a loaded sound at some point. Otherwise, false.
function SoundHandle [1/2]¶
function SoundHandle [2/2]¶
function operator!=¶
function operator==¶
The documentation for this class was generated from the following file engine/include/dalia/audio/SoundControl.h