Hi all, I am using Speex in a VoIP application and everything is working great. Now I am trying to integrate the Resampler in order to convert data input, especially in the Wide Band mode (16 Khz). I have seen in the doc that for mono the ChannelID parameter should be 0, but How one should call the resampler in the case of PCM stereo data ? It is also stated that "It is also possible to process multiple channels at once" but I did not find further documentation (I am using the Fixed Point implementation). So How to do it ? Thanks in advance Oscar
Use speex_resampler_process_interleaved_int() if you want to process stereo. The only thing I don't get is why you want stereo if you're doing VoIP... Jean-Marc oscar lima a ?crit :> Hi all, > > I am using Speex in a VoIP application and everything is working great. > Now I am trying to integrate the Resampler in order to convert data > input, especially in the Wide Band mode (16 Khz). > I have seen in the doc that for mono the ChannelID parameter should be 0, but > How one should call the resampler in the case of PCM stereo data ? > It is also stated that "It is also possible to process multiple > channels at once" but I did not find further documentation (I am using > the Fixed Point implementation). So How to do it ? > > > Thanks in advance > > Oscar > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > >