Closed lolive closed 12 years ago
Hello there lolive, I am currently on vacation and am not available to code. I will check out both your issues when I get home. I think I may know the problem .
Also, are you using API version. 1.00 or 1.01
I am going to close this issue. After experimenting with the WAVE file, i can verify it does indeed convert to flac correctly, but for some reason Google will not recognize it. I do not know why. The exception was fixed in 28f4bf6d9f
When running the FLAC encoder on a local version of this file: http://buggerluggs.tripod.com/wavs/hello.wav I get this exception: java.nio.BufferUnderflowException at java.nio.Buffer.nextGetIndex(Buffer.java:478) at java.nio.HeapByteBuffer.getShort(HeapByteBuffer.java:285) at com.darkprograms.speech.recognizer.FlacEncoder.convertWaveToFlac(FlacEncoder.java:66) at com.darkprograms.speech.recognizer.Recognizer.getRecognizedDataForWave(Recognizer.java:28) at com.darkprograms.speech.recognizer.Recognizer.getRecognizedDataForWave(Recognizer.java:41) at net.datao.stt.DoItAll$3.actionPerformed(DoItAll.java:48)
Do you have that same problem on the same file?