[Speex-dev] re: decoder issue in sb_celp

Tom Harper tharper at sightspeed.com
Tue Mar 13 10:35:41 PDT 2007


Hi Jean Marc,

I have been looking into an issue where in the latest svn
and in some previous versions the audio decoder will suddenly
click and then go completely silent until it is reset.

The symptom is that  the compute_rms16() function is returning
an invalid result for st->last_ener (-1.#IND) which then gets
propagated around - this usually happens during packet loss/
discontinuous packet transmission- so I am guessing
decode_lost gets called next and then propagates the invalid
floating point data in to the out buffer & mem_sp.

Right now if I reset mem_sp and make sure the upper band
is not invalid (i.e. i have to reset it to VERY_SMALL) then
speex seems to recover well enough.  But I would like to figure
out where it is occurring.

Any ideas on where I should look next would be helpful...
and has anyone else seen this?

Unfortunately coming up with a test sample is going to be
difficult...

Tom



More information about the Speex-dev mailing list