Welcome,
I think you will have to make a change to AudioSessionManager.m and recompile the framework in order to do this.
1. In your app class where you want to use TTS, import AudioSessionManager.h and send this message before instantiating FliteController: [[AudioSessionManager sharedAudioSessionManager]setSoundMixing:YES];
2. In AudioSessionManager.m change this line:
AudioSessionGetProperty (kAudioSessionProperty_OverrideCategoryMixWithOthers, &overrideCategoryMixWithOthersCheckSize, &overrideCategoryMixWithOthersCheck);
To this:
AudioSessionGetProperty (kAudioSessionProperty_OverrideCategoryMixWithOthers, &overrideCategoryMixWithOthersCheckSize, &overrideCategoryMixWithOthersCheck);
UInt32 ducking = 1;
AudioSessionSetProperty(kAudioSessionProperty_OtherMixableAudioShouldDuck, sizeof(ducking), &ducking);
I haven’t tested this code, it’s just my best guess off the top of my head of what the ducking code referenced in the other thread would look like. Let me know if it works for you.