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.
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.
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.
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.
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.