Hi Tobias,
The speex_resampler_process_interleaved_int() seems to take (and return) number of samples *of all channels*, so 'in_samples_per_frame' and 'out_samples_per_frame' should be set as samples of all channels too (instead of samples of one channel as represented in the patch). So IMO the current code is also suitable for multiple channels already. Please feel free to clarify if you think otherwise.
BR,
nanang
On Wed, Aug 9, 2017 at 1:56 PM, Tobias Schlager <Tobias.Schlager@xxxxxxxxxxxxx> wrote:
Hi all,
this patch fixes the Speex resampler multi channel mode (e.g. stereo) by fixing the sample count calculation (which didn't resect the current channel count).
Regards
Tobias
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists. pjsip.org
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org