libER 0.1.4.2
ELDEN RING API library
|
A single playable sound instance in the sound engine. More...
#include <sound.hpp>
Public Types | |
enum | sound_state : char { INIT = 0 , PLAY = 1 , STOP = 2 , DIAL = 3 } |
The sound playback state. | |
Public Member Functions | |
void | stop_playback () noexcept |
Stop sound playback. | |
bool | is_playing () const noexcept |
Is the sound playing? | |
const sound_state | get_playback_state () const noexcept |
Get the playback state. | |
![]() | |
virtual void | deleter () |
The deleter method to call when reference count reaches zero. | |
int | count () const noexcept |
Get number of references to object. | |
void | ref () noexcept |
Increment the object's reference count. | |
void | unref () |
Unreference object; there cannot be more ref() calls than unref() calls. | |
Friends | |
class | CSSound |
Additional Inherited Members | |
![]() | |
DLReferenceCountObject () noexcept=default | |
Protected DLReferenceCountObject constructor. | |
A single playable sound instance in the sound engine.
|
inlinenoexcept |
Get the playback state.
|
inlinenoexcept |
Is the sound playing?