mute other app's audio

So if you are listening to itunes or spotify, I want the audio to turn off when you enter my app.

Is this possible? I know it does this automatically if you use a background channel, but I am just using simple sound effects, no stream.

Thank you. [import]uid: 59735 topic_id: 34318 reply_id: 334318[/import]

Audio should turn off when your Corona app starts up, unless you’ve taken explicit steps to keep background audio going.
[import]uid: 199310 topic_id: 34318 reply_id: 136463[/import]

Actually, I am using:
[lua]if audio.supportsSessionProperty then
audio.setSessionProperty(audio.OverrideMixWithOthers, audio.MediaPlaybackMixMode)
end[/lua]
could this be the problem? I need to use this to override the mute switch though. [import]uid: 59735 topic_id: 34318 reply_id: 136476[/import]

I believe that is the code that allows background music from other apps to play.

[import]uid: 199310 topic_id: 34318 reply_id: 136516[/import]

Audio should turn off when your Corona app starts up, unless you’ve taken explicit steps to keep background audio going.
[import]uid: 199310 topic_id: 34318 reply_id: 136463[/import]

Actually, I am using:
[lua]if audio.supportsSessionProperty then
audio.setSessionProperty(audio.OverrideMixWithOthers, audio.MediaPlaybackMixMode)
end[/lua]
could this be the problem? I need to use this to override the mute switch though. [import]uid: 59735 topic_id: 34318 reply_id: 136476[/import]

I believe that is the code that allows background music from other apps to play.

[import]uid: 199310 topic_id: 34318 reply_id: 136516[/import]