add samplerate.h #include
add new resample() function
add flags for libsamplerate