can't pause sounds!

Started by xeleh, February 20, 2004, 10:29:16

Previous topic - Next topic

xeleh

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!!

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 :)

Matzon

OAL bug:
http://opensource.creative.com/pipermail/openal-devel/2004-January/000225.html

QuoteI 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.

xeleh

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.

princec

Well, Matzon's found the problem then :)

Cas :)

xeleh

hi again!

i've tried the same program on linux and it works perfect...  :)

vrm

for Matzon : crappy OS  8)

ahollada

Does the newest release, version .92, fix this bug?

Matzon

no idea, haven't tested it. The release uses the latest oal