iphone - Cannot get ducking to work with kAudioSessionProperty_OtherMixableAudioShouldDuck -
This is driving me crazy, I have an iPhone app with background music from the iPod app, when I play sound I do not want to finish background music until the background music is to tell. So until I need to play the sound, my audio session becomes inactive, and when I play sound, I set the kAudioSessionProperty_OtherMixableAudioShouldDuck property and then activate the session. When the sound stops, I disable the session to return the background to normal amount. It ducks the sound but playing background music is stopping. It seems that if I set the QaudioSationProperty_AnimixBox audio shotdeq, QAdiosisationPropertyAnotherl Character Miss Vythth other flag is cleared elsewhere in the system and vice versa. It seems that you need these two sets to get the desired behavior, but whichever I set the last overrides the second and closes it Does anyone have any The idea, which is going on here, any advice would be greatly appreciated? What you want to do is set up the ding proper...