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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux