TESTS: Fixed minor cast warning

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
SCRIPTS: Better test data extracting script

- now displaying curves label
- output as a wav file

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
SCRIPTS: Fixed required input length computation

The previous one gave one longer sample if the given output length was
an integer.
Also, cleaned a bit processing loop.

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
SYNTH: Mvoed utility interpolation functions into the common file

These functions should not be dependent of an interpolator object.

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
SYNTH: Cleaned & updated Interpolator object

- Now allowing non-contiguous input blocks
- No longer using a data setter to be called prior to any interpolation:
it is now done "per input block"

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
SYNTH: Cleaned Ringbuffer

- Now using the proper method for required elements/expected length
computation, relying on common interpolation functions

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
SYNTH: Better constness for TransferData method arguments in RingBuffer

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
TESTS: Now using the new per-block process method in interpolator tests

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
TESTS: Added two new tests to Interpolator

Interpolating a sinus generated at some sampling frequency,
and comparing it to the sinus generated at the interpolated frequency.
Done for both down- and upsampling.

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
SYNTH: Fixed required elements / expected output length methods

Now cleanly done, with one single ratio and all proper common functions.

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
SYNTH: Now using the new per-block Process method for interpolation

The task of interpolating from non-contiguous data has been moved from
the adapter to the interpolator.

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
TESTS: Added two new Adapter tests

- Resizing check (this test should only pass without failing).
- Check interpolating from 96 to 48 kHz, with random output block sizes.

Signed-off-by: Gama <misept.dieseneuf@gmail.com>