Skip navigation
Currently Being Moderated delay

Nov 18, 2010 1:40 AM

I am building a small game engine optimized for android, everything works fine, and I can render around 100 animated sprites with a decent speed, but I am stuck with the sound.


when I play a sound there's a small delay, which is critical in action games, the first time I play a sound it runs fast, but after that there will be a delay.


I am using the usual:


var _mySound:Sound = new MySound();;


I am using Flash CS5 with the android extension.

and testing on Samsung Galaxy S.

  • Currently Being Moderated
    Nov 18, 2010 4:50 AM   in reply to Ammar Harfoush

    This is a known bug with the current version of AIR for Android, widely reported in the pre-release forums and logged with the engineers to be fixed.


    Adobe staff have directly acknowledged it on those threads too, which I interpret as a good sign that it's a priority.


    And yes, it is a pain!

    Mark as:
  • Currently Being Moderated
    Dec 2, 2010 12:39 PM   in reply to Ammar Harfoush


    Can someone from Adobe please give an estimated time frame on this? Not to be impatiant, I am waiting to release my games due to delayed sound effects.

    Mark as:
  • Currently Being Moderated
    Apr 25, 2011 8:50 PM   in reply to boat5

    It's so bad still....

    Mark as:
  • Currently Being Moderated
    Apr 26, 2011 7:15 AM   in reply to Ammar Harfoush

    You're using mp3s right? Try wavs. They are bigger, but you don't get that delay at the beginning.

    Mark as:
  • Currently Being Moderated
    Apr 27, 2011 9:01 PM   in reply to Jonathan Campos

    what bitrate do you use? and what phone do you have?

    I still get horible delay when calling play() on any audio file, at least 600-700ms.

    I use a droidX, i just tried wavs and mp3s, seem to be the same.


    its so bad for sound effects

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points