[CELT-dev] llcon software using CELT

Gregory Maxwell gmaxwell at gmail.com
Thu Aug 20 12:42:00 PDT 2009


On Thu, Aug 20, 2009 at 3:32 PM, Volker<v.fischer at nt.tu-darmstadt.de> wrote:
> When I use CELT in the llcon software, I noticed that in the case of a
> network trouble, I get a constant tone back from the CELT decoder (audio
> is not muted after some audio frames as I would expect). What I do in
> case of network trouble is that I use a NULL pointer instead of putting
> actual coded data to the decoder to force the "error resilience" in the
> decoder.

Hm?  If you call celt_decode with a null pointer in place of the data
it should fade out the audio after consecutive losses.

The relevant code is around line 1286 in celt.c:
   for (i=0;i<C*N;i++)
      freq[i] = ADD32(EPSILON, MULT16_32_Q15(QCONST16(.9f,15),freq[i]));


Are you, by chance, also calling it with a null pointer in place of
the output buffer?


I'll give llcon a try and see if I can reproduce it.



More information about the celt-dev mailing list