Displaying 1 result from an estimated 1 matches for "pcm2speexaudioinpputstream".
Did you mean:
pcm2speexaudioinputstream
2004 Aug 06
0
Getting a Side band error when decoding with Jspeex
...giving me an error "saying sideband error" and values after it vary with every message.
I donno the reason for this, but I guess it is because of the format in which I am reading Audio Stream.
I am reading using the following AudioFormat. Here it is a 16 bits/sample stereo sound. but Pcm2SpeexAudioInpputStream needs an input stream which would give a 16 bits/sample mono sound.
AudioFormat audioFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, 44100, 16, 2, 4, 44100, false);
I am attaching the code I have written can anybody guide me to an implementation of speex using Jspeex api or suggest me...