Update example to check for audio errors.