mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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.
|
// ...we're pausing a looping sound.
|
||||||
_paused=true;
|
_paused=true;
|
||||||
}
|
}
|
||||||
|
// Store off the current time so we can resume from where we paused.
|
||||||
|
_start_time = get_time();
|
||||||
stop();
|
stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user