Skip to main content
September 25, 2011
Question

AIR 2.7.1: Help with sound stuttering problem in IOS!

  • September 25, 2011
  • 11 replies
  • 2802 views

Hi all,

I need to play audio in the background but unfortunately, it came out unstable:

- On the 1st run after installing, it'll play fine until it loops, that's when the audio goes out completely.

- On subsequent runs, the audio plays and loops but it stutters.

I have scoured the forums and googled but couldn't find much advice other than the audio settings to use:

- MP3 Compression

- 128 kbps Bit Rate

- 44.1 kHz sample rate

The audio file is in the library and I call it up with the Sound object.

Some additional info, I wrote a custom script to loop my sound:

- I have 2 SoundChannels

- I use a Timer to track the audio progress

- When the 1st channel is almost up, I  play the 2nd channel; the 'old' channel fades out and stops while the 'new' channel plays and fades in

I'm not sure what else I need to look for but any pointers will be great!

Thanks!

This topic has been closed for replies.

11 replies

chris.campbell
Legend
September 26, 2011

Could you please open a new bug report on this over at bugbase.adobe.com?  Please include sample media, code, project or app to help us reproduce the problem.  Did this occur on the desktop or mobile device?  Finally, once the bug has been added would you mind posting back with the URL so that others affected can add their votes and comments?

Thanks,

Chris