search for: mybuffersize

Displaying 1 result from an estimated 1 matches for "mybuffersize".

2006 Jul 20
1
Invalid sideband mode encountered
...Therefore, because of this, i cannot decode. Does anybody have an idea on fixing this error? I've attached parts of my code to ths email: //Declare the class mySpeexEncDec test = new mySpeexEncDec (); //Decoding procedure public static byte[] decode(byte[] decbuffer, int myBufferSize) { SpeexDecoder speexDecoder = new SpeexDecoder(); byte[] payload = new byte[FRAME_SIZE*2]; byte[] completebuffer = new byte[4000000]; int mode = 0; int samplerate = 8000; int channels = 1; speexDecoder.init(mode, samplerate, channels, true); for (int packetCount = 0; pa...