LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: xeleh on February 20, 2004, 10:29:16

Title: can't pause sounds!
Post by: xeleh on February 20, 2004, 10:29:16
hi again!

when i try to pause an openal source (with alSourcePause) the sound stops properly, but then when later i try to resume the playback (with alSourcePlay on the same source) the sound just restarts playing from the beginning... weird-weird-weird, uhm?

i'm using v0.8 of lwjgl and i've looking for some sound pause use/example in the test source code... but no results... any idea? thanks!!
Title: can't pause sounds!
Post by: princec on February 20, 2004, 10:32:47
Nowt to do wi' us. There's something broken in the OpenAL code by the looks of it. What platform is this on?

Cas :)
Title: can't pause sounds!
Post by: Matzon on February 20, 2004, 10:40:42
OAL bug:
http://opensource.creative.com/pipermail/openal-devel/2004-January/000225.html

Quote
I hate to say this, and longtime readers of this list should SIT DOWN NOW
for your own safety, but you've exposed a bug, Lee.  It turns out that the
DirectSound and MMSYSTEM paths work as expected (play, pause, play resumes
from the pause position) but that the DirectSound 3D path does not (the
final play restarts the source).

Sorry we missed that -- implementing a fix is now on my near-term to-do list.
Title: can't pause sounds!
Post by: xeleh on February 20, 2004, 13:39:54
Quote from: "princec"
Nowt to do wi' us. There's something broken in the OpenAL code by the looks of it. What platform is this on?

Cas :)


platform = windows2000.
Title: can't pause sounds!
Post by: princec on February 20, 2004, 13:40:43
Well, Matzon's found the problem then :)

Cas :)
Title: can't pause sounds!
Post by: xeleh on February 20, 2004, 13:43:40
hi again!

i've tried the same program on linux and it works perfect...  :)
Title: can't pause sounds!
Post by: vrm on February 22, 2004, 21:33:41
for Matzon : crappy OS  8)
Title: can't pause sounds!
Post by: ahollada on September 08, 2004, 23:40:46
Does the newest release, version .92, fix this bug?
Title: can't pause sounds!
Post by: Matzon on September 09, 2004, 05:13:16
no idea, haven't tested it. The release uses the latest oal