[alsa-devel] [PATCH] salsa-lib: Set SNDRV_PCM_HW_PARAMS_NORESAMPLE by default

Takashi Iwai tiwai at suse.de
Wed Mar 20 17:31:09 CET 2013


At Sat, 16 Mar 2013 19:59:04 +0000,
Mihail Zenkov wrote:
> 
> As we don't allow resampling set SNDRV_PCM_HW_PARAMS_NORESAMPLE by
> default to respect snd_pcm_hw_rule_noresample in drivers.

Applied now.  Thanks.


Takashi

> 
> --- salsa-lib-a55ce0c348cd16e7853dae11e8e0e1b5a101d884/src/pcm_params.c
> +++ salsa-lib-a55ce0c348cd16e7853dae11e8e0e1b5a101d884-1/src/pcm_params.c
> @@ -436,6 +436,7 @@
>  	params->rmask = ~0U;
>  	params->cmask = 0;
>  	params->info = ~0U;
> +	params->flags = SNDRV_PCM_HW_PARAMS_NORESAMPLE;
>  }
> 
>  int snd_pcm_hw_params_any(snd_pcm_t *pcm, snd_pcm_hw_params_t *params)
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


More information about the Alsa-devel mailing list