[alsa-devel] snd_pcm_set_params faild on set_buffer_time_near and set_period_time_near

Raymond Yau superquad.vortex2 at gmail.com
Thu Jul 23 09:19:56 CEST 2015


>
> I tried to configure alsa device with snd_pcm_set_params function,
requested
> parameters was:
> channel 2, rate: 22050, soft_resample: 1, latency: 50000

The function snd_pcm_set_params does not always succed especially you are
using 22050Hz which is 20ms increment

Which soc driver ? It is quite difficult to find the soutce by chip name

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/soc


More information about the Alsa-devel mailing list