mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
openal: Fix paused sounds not resuming from where they were paused (#1031)
This commit is contained in:
parent
c788912070
commit
eb367430f7
@ -832,6 +832,8 @@ set_active(bool active) {
|
||||
// ...we're pausing a looping sound.
|
||||
_paused=true;
|
||||
}
|
||||
// Store off the current time so we can resume from where we paused.
|
||||
_start_time = get_time();
|
||||
stop();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user