Re: EPIPE and underruns

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

 



On Mon, 4 Oct 2010, Andrew Bell wrote:

> Hi,
>
> Can somebody explain precisely the circumstances leading to an EPIPE
> as the result of a pcm_snd_writei()?

Simply, the driver consumed all queued samples in the ring buffer.

> What buffer has been underrun that leads to this error?  Does
> providing more data to pcn_snd_writei() help alleviate the issue?

Yes, also the ring buffer size may be increased depending on the stream
parameter setup to prevent underruns.

 					Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
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