On Tue, 24 Jan 2006 10:56:20 +1100
Erik de Castro Lopo <mle+la@email-addr-hidden-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.
-- DavidReceived on Tue Jan 24 04:15:10 2006
This archive was generated by hypermail 2.1.8 : Tue Jan 24 2006 - 04:15:10 EET