[Speex-dev] Questions about the resampler
Jean-Marc Valin
jean-marc.valin at usherbrooke.ca
Wed Dec 12 14:03:51 PST 2007
Mihai Balea a écrit :
> Hi all,
>
> I have a couple of questions about the speex resampler:
> 1. Can a resampler state be used to process frames belonging to several
> audio streams? I would guess that there is information about the audio
> streams stored in the state so the answer is no, but it would be good to
> have some confirmation.
You need to either use multiple resamplers, or use one with multiple
channels.
> 2. What is the best way to reset a resampler state?
> speex_resampler_reset_mem appears to do it, but it is not documented
> anywhere so again, it would be good to have some confirmation. I guess
> another way would be to simply destroy the state and create a new one.
Both are OK.
Jean-Marc
More information about the Speex-dev
mailing list