On Mon, Sep 17, 2012 at 11:18:58AM +0200, Laurent Pinchart wrote: > > >> Well, ALSA allows you to switch between gettimeofday and monotonic. So in > > >> theory at least if an app selects gettimeofday for alsa, that app might > > >> also want to select gettimeofday for v4l2. > > Does it, in its kernel API ? The userspace ALSA library (or possibly > PulseAudio, I'd need to check) allows converting between clock sources, but I > don't think the kernel API supports several clock sources. See snd_pcm_gettime in <sound/pcm.h>. This header is not exported to userspace. Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html