Author Topic: PLAYSOUND delay on WebOS?  (Read 2426 times)

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4176
  • On the shoulders of giants.
    • View Profile
    • My Apps
PLAYSOUND delay on WebOS?
« on: 2011-Feb-24 »
Hi Gernot

Just a quick mention that there appears to be a delay of about 1/2 second when playing a .WAV file on the Palm Pre.

B'lox! shows this problem quite clearly when a block stops moving (the collision sound should be instantaneous). I'm using a .Wav file with a frequency of 22050 16bit stereo IIRC. Could it just be a frequency problem?

I'll create a stand-alone program later with varying frequencies etc. to double check.

I came. I saw. I played.

Offline backslider

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 892
    • View Profile
Re: PLAYSOUND delay on WebOS?
« Reply #1 on: 2011-Feb-24 »
It´s the same with .ogg-files on my Palm Pre.

Thank you for checking different soundfiles!

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10851
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: PLAYSOUND delay on WebOS?
« Reply #2 on: 2011-Feb-24 »
My calculator app has this also quite terribly.
I'm working on it. I had that on a GP2X once, too. I'm sure I'll fix it.

http://developer.palm.com/distribution/viewtopic.php?f=70&t=11518

Offline Marmor

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 936
  • 96A285CC
    • View Profile
    • my youtube channel
Re: PLAYSOUND delay on WebOS?
« Reply #3 on: 2011-Feb-24 »
we must wait for Kitty because its a sdl thingy.
if kitty come out with a better solution, i will be shure  he can say us the best soundformat / samplerate.
the best soundformat is the wav container i mean ,but wait for kitty pls

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4176
  • On the shoulders of giants.
    • View Profile
    • My Apps
Re: PLAYSOUND delay on WebOS?
« Reply #4 on: 2011-Feb-24 »
OK, at least we know it is an issue with GLB/SDL and not wrong sound frequencies etc.

:)
I came. I saw. I played.