more functions
This commit is contained in:
parent
2956a2cf88
commit
04ab037d3f
3 changed files with 12 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue