cmusphinx / sphinx4

Pure Java speech recognition library
cmusphinx.sourceforge.net
Other
1.4k stars 586 forks source link

SpeechAligner doesn't close dataStream #72

Closed peternaf closed 7 years ago

peternaf commented 7 years ago

Within the align function, context opens the inputstream: context.setSpeechSource(audioUrl.openStream(), frame); (line 116) but, it does not close the inputstream until the SpeechAligner class is not disposed.

nshmyrev commented 7 years ago

Thank you for the report.