julius-speech / julius

Open-Source Large Vocabulary Continuous Speech Recognition Engine
BSD 3-Clause "New" or "Revised" License
1.84k stars 299 forks source link

j_recognize_stream does not return on a j_close_stream after sleep and microphone disconnection #163

Open sdiazvertex opened 3 years ago

sdiazvertex commented 3 years ago

I am currently having a weird issue where if my computer goes to sleep, then I turn it back on and unplug an re-plug in my microphone, the j_recgonize_stream will not return after a j_close_stream and it will just hang. The issue can also be reproduced by being on remote desktop as well by connecting with remote auido, then closing and reopening rdc.

Any other ways to make j_recognize_stream return?