Fix to sound buffering on RPi