Reduce audio stutter by making callback more efficient