[alsa-devel] preventing SNDRV_PCM_STATE_XRUN
18 Jun
2009
18 Jun
'09
10:48 a.m.
Hi, all! I have uncontrollable data stream which I need to play through kernel via ALSA snd_pcm_lib_write call. Everything is fine, but once a few seconds I get SNDRV_PCM_STATE_XRUN on stream and thus, -EPIPE. Sound glitches are minor, but annoying.
Is it possible to somehow prevent this from happenning? Is it possible to distinguish if my next chunk of data will fit?
Thanks a lot, S.
5667
Age (days ago)
5667
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sergey Lapin