10 Apr
2008
10 Apr
'08
10:03 a.m.
Lennart Poettering wrote:
Hey!
...
I find it very strange that ALSA just switches to monotonic timestamps just like that, anyway. Programs written for wallclack timestamps will break if they run on a system where ALSA uses monotonic timestamps!
There's a function missing that enables monotonic timestamps explicitly, or at least one that can be used to query if they are monotonic or not.
The clean solution would (IMHO) be to have ALSA provide a function to obtain 'current time', thereby making the timestamp system self-contained. Maybe it already does...
Greets,
Pieter