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. 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. Thanks Mihai -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2411 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20071211/16c2397c/smime.bin
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