Attempts at optimization for ALSA buffer issues
Added the ability to read from a raw PCM file