[alsa-devel] Monotonic timestamps

Pieter Palmers pieterp at joow.be
Thu Apr 10 09:03:29 CEST 2008


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


More information about the Alsa-devel mailing list