preventing SNDRV_PCM_STATE_XRUN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux