Fixed issue with incorrect hardware sample rate handling