Handling error with non-matching sample rates