Quantcast
Channel: Adobe Community : Unanswered Discussions - AIR Development
Viewing all articles
Browse latest Browse all 2010

audio on ios broken after sleep

$
0
0

hi all -

 

we've been using the AIR sound api, building for iOS, with no problems till now

 

the problem is: sound works until ipad goes to sleep, no sound from our app when ipad is woken back up

 

note: we have the app set to exit on suspend, and we dont have this problem when user suspends -- ie, hits the button and goes back to desktop

 

we only have it when ipad goes to sleep -- ie, screen goes dark but app is still running

 

anybody else? as far as I can tell our app is not getting any event from iOS when the ipad goes to sleep or wakes back up

 

once this has all happened and the game has no sound, exiting and restarting makes it work again

 

thanks for your help

 

update:

 

we are, actually, getting an activate event from the native application object when the ipad is woken up

 

I'm also checking (just because it sounds useful) the value of SoundMixer.areSoundsInaccessible, but that's way off base

 

I'd say that what I'm looking for is a way to reinitialize the audio stack, when I get the activate event


Viewing all articles
Browse latest Browse all 2010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>