search for: speex_notify

Displaying 4 results from an estimated 4 matches for "speex_notify".

2009 Feb 13
1
"More than two wideband layers found. The stream is corrupted." problem
...ayers found. The stream is corrupted." flood the screen of the phone (btw: pretty scary sight :-) I found the message in the file nb_celp.c, in this section of code: wideband = speex_bits_unpack_unsigned(bits, 1); if (wideband) { speex_notify("More than two wideband layers found. The stream is corrupted."); return -2; } Does this error look familiar to any of you? How did I manage to corrupt the Speex state? I am using RTP over UDP, and that UDP runs over GPRS/EDGE, so the sequence of the pac...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...{ //int submode; int advance; advance = /*submode =*/ speex_bits_unpack_unsigned(bits, SB_SUBMODE_BITS); speex_mode_query(&speex_wb_mode, SPEEX_SUBMODE_BITS_PER_FRAME, &advance); if (advance < 0) { speex_notify("Invalid mode encountered. The stream is corrupted."); return -2; //<----------------------*this is where I drop out* } and drops out with a return of -2 because advance < 0 because wideband = 1. I don't know why it does this. I am guessing that it t...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...//int submode; int advance; advance = /*submode =*/ speex_bits_unpack_unsigned(bits, SB_SUBMODE_BITS); speex_mode_query(&speex_wb_mode, SPEEX_SUBMODE_BITS_PER_FRAME, &advance); if (advance < 0) { speex_notify("Invalid mode encountered. The stream is corrupted."); return -2; //<----------------------*this is where I drop out* } and drops out with a return of -2 because advance < 0 because wideband = 1. I don't know why it does this. I am guessing tha...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...{ //int submode; int advance; advance = /*submode =*/ speex_bits_unpack_unsigned(bits, SB_SUBMODE_BITS); speex_mode_query(&speex_wb_mode, SPEEX_SUBMODE_BITS_PER_FRAME, &advance); if (advance < 0) { speex_notify("Invalid mode encountered. The stream is corrupted."); return -2; //<----------------------*this is where I drop out* } and drops out with a return of -2 because advance < 0 because wideband = 1. I don't know why it does this. I am guessing that it t...