[alsa-devel] snd_pcm_hw_params_set_buffer_size_near yields EINVAL for the value 1681

James Cameron quozl at laptop.org
Wed Oct 14 01:03:11 CEST 2015


On Tue, Oct 13, 2015 at 06:15:04AM +0000, Andrew Kelley wrote:
> When I call snd_pcm_hw_params_set_buffer_size_near with the value 1681, I
> get an EINVAL error.
> 
> What in the world is going on here?

My guess is one of the lower levels hw_params ops is returning EINVAL,
so you'll have to identify which drivers you are using, then find out
why they are doing it.

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Alsa-devel mailing list