[alsa-devel] Handle large period size end-of-stream situation

Clemens Ladisch clemens at ladisch.de
Thu Apr 4 11:27:27 CEST 2013

Gabriel M. Beddingfield wrote:
> In the typical end-of-stream case, you simply write the data that you
> have.  When the hw pointer catches up to the application pointer, you
> get an XRUN and the stream stops immediately.

But that happens only when ALSA actually reads the hardware pointer.
The application could ask for the pointer position for some reason, but
when it is blocked, only the end-of-period interrupt will cause that.


More information about the Alsa-devel mailing list