Skip to content

Commit eb36743

Browse files
authored
openal: Fix paused sounds not resuming from where they were paused (panda3d#1031)
1 parent c788912 commit eb36743

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

panda/src/audiotraits/openalAudioSound.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,8 @@ set_active(bool active) {
832832
// ...we're pausing a looping sound.
833833
_paused=true;
834834
}
835+
// Store off the current time so we can resume from where we paused.
836+
_start_time = get_time();
835837
stop();
836838
}
837839
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy