Reply To: Flitecontroller pauses music

Home Forums OpenEars Flitecontroller pauses music Reply To: Flitecontroller pauses music

Halle Winkler

You also might be able to get away with making a call to the audio session setting right before the use of FliteController like so:

[[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryAmbient error: nil];

Without your having to make any changes or recompilation to the OpenEars framework. Just keep in mind that it’s your responsibility at that point to keep track of what calls you are making to the audio session versus OpenEars because it is adding complexity to your code when you have two possible sources of audio session settings. I receive a lot of requests for support for functionality which isn’t working because of a second point of interaction with the audio session is being overlooked.