commit | 6b0a206624ebe78cc10dba7015438371d1506de5 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Thu Aug 22 15:11:48 2013 -0700 |
committer | Glenn Kasten <gkasten@google.com> | Fri Aug 30 13:15:34 2013 -0700 |
tree | e738649349e6a1f995c7a103727d89a7848e7ef5 | |
parent | 36ea2d824e5d8af550c139da9da20e73f82a9ae1 [diff] |
pcm_get_htimestamp can now use CLOCK_MONOTONIC Previously the timebase was not documented. Now a new pcm_open flag can be used to specify the clock. If flag PCM_MONOTONIC is specified, then pcm_open uses SNDRV_PCM_IOCTL_TTSTAMP with parameter SNDRV_PCM_TSTAMP_TYPE_MONOTONIC to request timestamps in CLOCK_MONOTONIC. Change-Id: I40ce359cb38d686cbb2521fb0602a8a17ab4f925