stopListening doesn’t cause a route change and OpenEars never sets a speaker-only audio route. To solve this it is necessary to troubleshoot the other parts of your app.
Give extra attention to your custom audio session manager that is performing the same functionality as OpenEars’ audio session manager and running at the same time, because that is a likely source of complexity, and to the playback code of your AVAudioPlayer to see if it interacts with your audio session.
I can’t help you with your request because the issue you are seeing doesn’t come from OpenEars. I am sorry I can’t help with that.