OSDN Git Service

pcm: use CLOCK_REALTIME for non-monotonic ts
authorOlivier Langlois <olivier@trillion01.com>
Fri, 24 Jan 2014 00:03:00 +0000 (19:03 -0500)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 Jan 2014 12:54:15 +0000 (13:54 +0100)
commit66f07aa3b77e4013110f7b12640e204d0c15ac8d
tree89c2b856c23b010fc6d17e9935d330e614dc76cd
parent507cdc13187f5eeb222eeb43550cf6a67c3b29c9
pcm: use CLOCK_REALTIME for non-monotonic ts

gettimeofday() is the same than clock_gettime(CLOCK_REALTIME)
except for the loss of precision and the double unnecessary
conversion timespec <-> timeval.

Signed-off-by: Olivier Langlois <olivier@trillion01.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_local.h