I am trying to get audio output to a bluetooth speaker over A2DP while OpenEars is running. My app connects and plays sound just fine to the bluetooth speaker until OpenEars starts listening. I have recompiled the OpenEars framework to not change the AVAudioSessionCategory. I currently set the AVAudioSessionCategory to MultiRoute before instantiating OpenEars. I am logging whenever a route change occurs and I see that there is an output override when the following RapidEars method is called:
[[OEPocketsphinxController sharedInstance] startRealtimeListeningWithLanguageModelAtPath:self.pathToFirstDynamicallyGeneratedLanguageModel dictionaryAtPath:self.pathToFirstDynamicallyGeneratedDictionary acousticModelAtPath:[OEAcousticModel pathToModel:@"AcousticModelEnglish"]];
Is there anything I can do to prevent this route override?