Hello.
You should use the same instance of the decoder (SpeexBits), the "comfort
noise" will be generated using previous frames.
If you use a separate instance, it's very likely it will output nothing
(except zeros :p)
Yes, to accomplish this, pas a NULL pointer to speex_decode with the
corresponding SpeexBits.
Fran?ois.
> Can i use a separate instance of the decoder passing NULL to generate white
noise or something that is similar to confort noise?
> I need to feed it to my output audio autput device for each frame i
don't receive in time.
> Or should i just use the same decoder instance of voice and just pass NULL
when i discard or loss frames? Is that the best way?
> How can i accomplish this purpose?
>
> Thanks.
>
>
> ---------------------------------
>
> ---------------------------------
> L'email della prossima generazione? Puoi averla con la nuova Yahoo!
Mail_______________________________________________
> Speex-dev mailing list
> Speex-dev@xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
>