I have developed a speech recognition application using sphinx4. I have also created windows service for same application. The microphone works fine for any number of iteration when I run directly from Eclipse. This also works fine for one iteration as windows service. But it throws exception saying, "Can't open microphone line with format PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame, big-endian not supported." for the second time, when I run it as a windows service.
Is there anything else to done with the application to make it as a windows service?
Please help me to fix this issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have developed a speech recognition application using sphinx4. I have also created windows service for same application. The microphone works fine for any number of iteration when I run directly from Eclipse. This also works fine for one iteration as windows service. But it throws exception saying, "Can't open microphone line with format PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame, big-endian not supported." for the second time, when I run it as a windows service.
Is there anything else to done with the application to make it as a windows service?
Please help me to fix this issue.
This issue is tracked in the following bug:
https://sourceforge.net/p/cmusphinx/bugs/412/