use dynamic memory allocation to read through sound files when caching data in memory, and use SRC_SINC_FASTEST sample rate conversion by default