Fixed off-by-one error in setting record offset. This removes significant distortion in recorded audio.