Reply To: How to properly deactivate OpenEars?

Home Forums OpenEars How to properly deactivate OpenEars? Reply To: How to properly deactivate OpenEars?

#1029699
Halle Winkler
Politepix

Welcome,

Call stopListening (this is where all of the session and audio unit cleanup is done), wait for the pocketsphinxDidStopListening delegate callback, then call [[OEPocketsphinxController sharedInstance] setActive:FALSE error:nil].

If the other framework instantiates its session needs correctly, this should be sufficient to let it do what it needs to.