Skip to main content
Participant
August 24, 2011
Question

ipad 2 sound playback problem

  • August 24, 2011
  • 3 replies
  • 1142 views

Hi All - has anyone else noticed this?

I've got an ipad1 and ipad2 - both running the same version of ios - running an as3 app deployed using the air 2.7 sdk. The app has some mp3s embedded in it (just in the library, pretty basic stuff) and I use the sound class to play it.

Problem: It works perfectly on ipad1 - every sound plays - but no sounds play at all on ipad 2.

I've tried using different compression formats to no avail, all I've noticed is that if the ipad 2 is playing an audio file when the app starts up (through the ipod app), it continues to run until a sound in my app is triggered, at which point the background audio stops but I still don't hear anything?

Has anyone else experienced this?Any help is appreciated.

Thanks for looking!

This topic has been closed for replies.

3 replies

Participant
September 4, 2011

Hi All -

Thanks for taking a look at this and providing suggestions. In the end it was a problem with iOS, the solution was to do a factory reset on the ipad and reinstall the app. Once that was done, the sounds worked...

Thanks again for helping!

Best,

L

Inspiring
August 25, 2011

Hi liamAsks,

as far as I can tell, this belongs to an iOS change.

Try to go into preferences and change the item rotation lock (I am currently not in front of one, so it will be have a different description) to audio or visa verse.

This should help from what I have heard...

Known Participant
August 24, 2011

bad luck - I'm also testing on an iPad 2 with Air 2.7, and Sound is playing fine. I've heard sound isn't working well on Andoid though..

Most of my Sound files are Aiff format, but I have one Mp3 which plays fine too.

Here is a random sample of code I'm using to play a sound:  (library linkage: Sound_atmos)

var music1:Sound_atmos = new Sound_atmos();
var channelmusic1:SoundChannel = music1.play(0, 3);

Matt