On Tue, 24 Jan 2006 10:56:20 +1100
Erik de Castro Lopo <mle+la(a)mega-nerd.com> wrote:
Is it safe to
assume that using floor() instead of ceil() will not
lead to a too short output buffer in some cases ?
The most you should ever loose is one sample.
Yes, so what is the cleanest : malloc'ing an additionnal frame and not
filling it or loosing a frame of data that should have come from the
SRC ?
In addition, src_simple will not write beyond the
length of the
output buffer length that you specify in the output_frames field.
You obviously designed this field for this, yes.
Erik
Thanks Erik.
--
David