25 Apr
2012
25 Apr
'12
6:42 p.m.
Hello,
I am trying to figure out how to obtain the hardware playback position after an underrun occured. When I have no underruns, I can simply keep track of the time by counting the samples processed. (I am using snd_pcm_mmap_commit). But in the unlucky event an underrun occurs, I would like to know what the playback position would have been without any underrun. Is this possible? I have been looking at the API docs, and at the source code, but to no avail.
Thanks,
Maarten