[alsa-devel] snd_pcm_set_params faild on set_buffer_time_near and set_period_time_near

Martin Geier martin.geier at streamunlimited.com
Thu Jul 23 09:33:43 CEST 2015


I am using 'davinci' soc driver with board specific driver.

On 23.07.2015 09:19, Raymond Yau wrote:
>
>
> >
> > 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
>

-- 
*StreamUnlimited*
High Tech Campus Vienna, Gutheil-Schoder-Gasse 10, A-1102 Vienna, Austria
Levocska 9, 851 01 Bratislava, Slovakia
Email: martin.geier at streamunlimited.com
www.streamunlimited.com


More information about the Alsa-devel mailing list