Home › Forums › OpenEars › Audio driver issues in combination with AirPlay › Reply To: No speech detection after a while, and then crash
The error isn’t really that it stops detecting speech, it is that the audio unit that feeds audio to the recognizer doesn’t start at the top of a particular recognition loop which means that when the engine gets to the audio the engine (most likely the VAD) eventually crashes because it’s expecting information.
So (1) isn’t the bug or the event, it’s just one result of the audio unit being unexpectedly stopped when the loop restarts. I’m entering it as an airplay issue but I can’t give you a timeframe for fixing it.
pocketSphinxContinuousSetupDidFail is there so that you can react to an error state, have you just tried stopping recognition when you receive it so that you don’t keep running the recognizer until it crashes due to not having a calibrated state?