[alsa-devel] [PATCH 3/4] ALSA: usb-audio: parse UAC2 sample rate ranges correctly

Takashi Iwai tiwai at suse.de
Fri Jun 11 17:43:04 CEST 2010


At Fri, 11 Jun 2010 17:34:21 +0200,
Daniel Mack wrote:
> 
> +		/*
> +		 * for ranges with res == 1, we want a continuous sample
> +		 * rate range, so this function should return 0.
> +		 */
> +		if (res == 1) {
> +			fp->rates = SNDRV_PCM_RATE_CONTINUOUS;
> +			return 0;

Missing setup of fp->rate_min and fp->rate_max here?


Takashi


More information about the Alsa-devel mailing list