Switching from libresample to libsamplerate
minor fixes
CMake: Switching from libresample to libsamplerate