[alsa-devel] Assert in pcm_params.c

Alan Horstmann gineera at aspect135.co.uk
Sat Apr 18 10:08:46 CEST 2015


Hi,

The following assert is being hit in pcm_params.c:

"pcm_params.c:2249: snd1_pcm_hw_params_slave: Assertion `err >= 0' failed."

This is from a developer using Portaudio in his own application; I have yet to 
ascertain full details, but it is trying successive sample rates to see which 
are valid.

Does this point to a flaw in the configuration or possibly a bug in Alsa-lib 
or can it occur just as a result of misuse of the Alsa API?

Regards

Alan


More information about the Alsa-devel mailing list