Reset audio in iOS

Is there any way to reset the audio system in iOS? I am trying to use the ducking fuction to fade music from other apps, but the sound will only fade down, it dosent fade back up after playing my audio in unless I hit the home button or exit the app. So I need a way to reset the audio so the fade up can happen without exiting the app.

I noticed there was something called audio.ActiveMode, but cant figure out how to use it or if its still there

I use audio.setSessionProperty(audio.OtherMixableAudioShouldDuck, audio.AmbientMixMode) to fade down. 

Help would be greatly appriciated.

 bumpy bump

sille havent found any more info regarding this. Anyone tried any of this before?

bump, still no answeres. Can someone from Corona that ha insight to this please take a look and let me know if these functions still work or if they are removed.

Just throwing this out there…

Since your using “unsupported” audio functions… Perhaps there is more unsupported functions there that may help you?

Did you do a:

for k, v in pairs( audio ) do print( k, ":", v ) end

And see what other functions/vars get printed out that are not documented?

Naturally this is not recommended, but it could potentially get you out of a jam… Perhaps…

Hope this helps

Yes, I have tried to check what functions is listed with audio but none there that isnt documented. I think what I might need is with the set session property and active mode: audio.setSessionProperty(audio.ActiveMode, “some number”)

but I dont know what number to put in as a value, its not 1 or 0, except that it expects a number.

there used to be a audio.quit() but that seems to be removed now.

 bumpy bump

sille havent found any more info regarding this. Anyone tried any of this before?

bump, still no answeres. Can someone from Corona that ha insight to this please take a look and let me know if these functions still work or if they are removed.

Just throwing this out there…

Since your using “unsupported” audio functions… Perhaps there is more unsupported functions there that may help you?

Did you do a:

for k, v in pairs( audio ) do print( k, ":", v ) end

And see what other functions/vars get printed out that are not documented?

Naturally this is not recommended, but it could potentially get you out of a jam… Perhaps…

Hope this helps

Yes, I have tried to check what functions is listed with audio but none there that isnt documented. I think what I might need is with the set session property and active mode: audio.setSessionProperty(audio.ActiveMode, “some number”)

but I dont know what number to put in as a value, its not 1 or 0, except that it expects a number.

there used to be a audio.quit() but that seems to be removed now.