4 Apr
2013
4 Apr
'13
12:27 p.m.
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.
Regards, Clemens