Add sample rate check