more functions

This commit is contained in:
Nishi 2026-01-27 16:30:58 +09:00
commit 04ab037d3f
Signed by: nishi
GPG key ID: 27EF69B208EB9343
3 changed files with 12 additions and 2 deletions

View file

@ -139,3 +139,13 @@ void GSSoundLock(GSSound sound) {
void GSSoundUnlock(GSSound sound) {
ma_mutex_unlock(&sound->mutex);
}
GSBool GSSoundIsPaused(GSSound sound) {
GSBool b;
GSSoundLock(sound);
b = sound->paused;
GSSoundUnlock(sound);
return b;
}