This commit is contained in:
Kapendev 2025-02-10 21:56:33 +02:00
parent 0cc48313c7
commit d0dcb62c37

View file

@ -545,6 +545,11 @@ struct SoundId {
@safe @nogc nothrow:
/// Returns true if the sound associated with the resource identifier is paused.
bool isPaused() {
return getOr().isPaused;
}
/// Returns true if the sound associated with the resource identifier is playing.
bool isPlaying() {
return getOr().isPlaying;