Hello Guest

can't pause sounds!

  • 8 Replies
  • 6427 Views
can't pause sounds!
« 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!!

*

Offline princec

  • *****
  • 1933
    • Puppygames
can't pause sounds!
« Reply #1 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 :)

*

Offline Matzon

  • *****
  • 2242
can't pause sounds!
« Reply #2 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.

can't pause sounds!
« Reply #3 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.

*

Offline princec

  • *****
  • 1933
    • Puppygames
can't pause sounds!
« Reply #4 on: February 20, 2004, 13:40:43 »
Well, Matzon's found the problem then :)

Cas :)

can't pause sounds!
« Reply #5 on: February 20, 2004, 13:43:40 »
hi again!

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

*

Offline vrm

  • *
  • 21
can't pause sounds!
« Reply #6 on: February 22, 2004, 21:33:41 »
for Matzon : crappy OS  8)

can't pause sounds!
« Reply #7 on: September 08, 2004, 23:40:46 »
Does the newest release, version .92, fix this bug?

*

Offline Matzon

  • *****
  • 2242
can't pause sounds!
« Reply #8 on: September 09, 2004, 05:13:16 »
no idea, haven't tested it. The release uses the latest oal