[alsa-devel] ALSA Underrun / Silence playback

Irfan shaikh irfan.shaikh at sasken.com
Mon Dec 5 12:56:36 CET 2011

On 12/05/2011 04:15 PM, Clemens Ladisch wrote:
> Irfan shaikh wrote:
>> >  I have used my threshold as boundary value also and checked the audio
>> >  performance.  I was still getting UNDERRUN's (-32).
> Did you actually call snd_pcm_sw_params()?
Hi thanks a lot for hint provided by you.
It works fine now.
What threshold value is better boundary value OR alsa buffer size value 
for good performance ?

Observation :
I do lot of console operation purposely to get ALSA underrun.
After above implementation i do not see any UNDERRUN.
###### But Audio goes out of sync and playes jerky ? ########
Is there any way we can avoid above jerks ?

xfer_align function is depreciated.

Thanks and regards

More information about the Alsa-devel mailing list