resample
Description:
Perform resampling on in_frames frames in in and write out_frames to out.
In case the samples are interleaved, in and out must point to an array with a single element pointing to a block of
interleaved samples.
If non-interleaved samples are used, in and out must point to an array with pointers to memory blocks, one for each
channel.
in may be null, in which case in_frames of silence samples are pushed into the
resampler.
This function always produces out_frames of output and consumes in_frames of input. Use
get_out_frames and
get_in_frames to make sure in_frames and
out_frames are matching and in and out point to enough memory.
Parameters:
| this | |
| in_frames |
number of input frames |
| out_frames |
number of output frames |
| in |
input samples |
| out |
output samples |