Reply To: Managing interruptions from incoming phone call

Home Forums OpenEars Managing interruptions from incoming phone call Reply To: Managing interruptions from incoming phone call

#1019371
Halle Winkler
Politepix

Thanks for the follow-up — I’d be very interested in hearing the results of your experimentation since this isn’t something I can easily test at the moment. Although I’m hesitant to recommend out-of-API calls since I can’t promise I will continue to implement in the same way, I believe that you could poll whether listening is in progress in 1.6.4 by checking the int result of [self.pocketsphinxController.continuousModel getRecognitionIsInProgress] (1 is true, 0 is false, I recommend first checking if self.pocketsphinxController has a non-null continuousModel). I literally only yesterday looked at that getter and asked myself if it was overly overlapping with the functionality of another variable in the audio driver, so I wanted to warn you that it has recently been looked at askance and could be subject to a future change :) .