Added initialization and destruction of fifo and resample-context

Signed-off-by: Michel Verbraak <info@1st-setup.nl>