The interpolation is just telling Speex "I don't have the data, can you
please make up something plausible". I'm not sure what you mean by
"cut
your losses after a certain number of frames". If you mean inserting
zeros instead, then you better interpolate. In the end (after e.g. 10
missing frames), it ends up being the same anyway, because the packet
loss concealment just gives up (instead of being really wrong).
Jean-Marc
Le mardi 26 avril 2005 ? 00:16 -0700, Tom Harper a ?crit
:> Jean Marc & list,
>
> I was going to start fiddling with using the ability to pass NULL to speex
> decode
> and using that to return an interpolated frame.
>
> I am curious what the intended use of this feature was- I.e. if there is
> a packet loss situation is it preferable to keep interpolating until new
> data shows up, or to cut your losses after a certain number of frames?
>
> I suppose some of this could be gleaned from the code, but all the same any
> practical advice/wisdom/rules of thumb would be appreciated!
>
> Tom
>
>
--
Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca>
Universit? de Sherbrooke