Set sample rate before bandwidth.