search for: decodedbuff

Displaying 5 results from an estimated 5 matches for "decodedbuff".

Did you mean: decode_buf
2005 Jan 05
4
Encoding and decoding problem in speex 1.0.4
...float array i.e. speexFloat is changed (why does it happen?Is anything abnormal). Further after calling the above function for testing I decode the returned encoded data immediately by calling the decoding function shown bellow :- char *decode (char *buffer, int encodeSize) { char *decodedBuffer = new char[RECBUFFER]; short speexShort; float speexFloat[RECBUFFER/2]; // Decode the sound data into a float buffer void *mDecode = speex_decoder_init(&speex_nb_mode); /*Initialization of the structure that holds the bits*/ speex_bits_init(&mBits)...
2004 Sep 12
2
Speex encoding/decoding producing garbled audio
...delete[] speexFloat; // Return the encoded buffer return encodedBuffer; } 4) I immediately decode the encoded buffer. Encoded size is always 38 bytes for this sample set and expected decoded size is 320 bytes char *CSpeex::decode (char *buffer, int encodeSize) { char *decodedBuffer = new char[320]; short speexShort; float *speexFloat = new float[160]; // Decode the sound data into a float buffer speex_bits_reset(&mBits); speex_bits_read_from(&mBits, buffer, encodeSize); speex_decode(mDecode, &mBits, speexFloat); //...
2005 Jan 11
0
Decoding producing garbled sound
...speexFloat = 0; // Return the encoded buffer return encodedBuffer; } 3.I immediately decode the encoded buffer. Encoded size is always 38 bytes for this sample set and expected decoded size is 320 bytes char *CRecNplayDlg::decode(char *buffer, int encodeSize) { char *decodedBuffer = new char[320]; void *mDecode = speex_decoder_init(&speex_nb_mode); short speexShort; float *speexFloat = new float[160]; // Decode the sound data into a float buffer speex_bits_init(&dBits); speex_bits_reset(&dBits); speex_bits_read_from(&dBi...
2004 Sep 14
0
Speex encoding/decoding producing garbled audio
...>> >> >> >> 4) I immediately decode the encoded buffer. Encoded size is always 38 >> bytes for this sample set and expected decoded size is 320 bytes >> >> char *CSpeex::decode (char *buffer, int encodeSize) >> >> { >> >> char *decodedBuffer = new char[320]; >> >> short speexShort; >> >> float *speexFloat = new float[160]; >> >> >> >> // Decode the sound data into a float buffer >> >> speex_bits_reset(&mBits); >> >> speex_bits_read_from(&a...
2012 Dec 18
2
multi stream decode
...tistream_decoder_create (48000, 2, 2 ,0,mapping,NULL) and unsigned char mapping[2] = {0,1}; Currently, I can read my RTP packet from network, and get data from it. I need now to decode opus data to something readable for jack. I do it like that : opus_multistream_decode_float(m_decoder, data, len, decodedBuffer, BUFLEN, 0); But how can I know the start of the two packets ? Thanks for your help, Audric Ackermann -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20121218/190d3981/attachment.htm