[alsa-devel] [PATCH] ASoC: fsl_asrc: add support for 8-30kHz output sample rate

Nicolin Chen nicoleotsuka at gmail.com
Sat Dec 12 06:34:20 CET 2015


On Thu, Dec 10, 2015 at 07:02:49PM +0800, Zidan Wang wrote:

> @@ -287,6 +287,13 @@ static int fsl_asrc_config_pair(struct fsl_asrc_pair *pair)
>  		return -EINVAL;
>  	}
>  
> +	if ((outrate > 8000 && outrate < 30000) &&
> +			(outrate/inrate > 24 || inrate/outrate > 8)) {

Indentation



More information about the Alsa-devel mailing list