[alsa-devel] Coherence of status structure after SYNC_PTR

Ricardo Biehl Pasquali pasqualirb at gmail.com
Thu Dec 27 18:22:24 CET 2018


In alsa-lib, pcm_hw, htimestamp(), avail is rechecked to
ensure a valid timestamp.

I guess this is for the case when status is mmaped, when
hardware pointer is read, an interrupt occur, and timestamp
is read.

Does SYNC_PTR ioctl always fill a coherent status?

Cheers!

	pasquali


More information about the Alsa-devel mailing list