AIR 2.7.1: Help with sound stuttering problem in IOS!
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!
