Pierre-Louis Bossart 4eeaaeaea1 ALSA: core: add hooks for audio timestamps
ALSA did not provide any direct means to infer the audio time for A/V
sync and system/audio time correlations (eg. PulseAudio).
Applications had to track the number of samples read/written and
add/subtract the number of samples queued in the ring buffer.  This
accounting led to small errors, typically several samples, due to the
two-step process.  Computing the audio time in the kernel is more
direct, as all the information is available in the same routines.

Also add new .audio_wallclock routine to enable fine-grain synchronization
between monotonic system time and audio hardware time.
Using the wallclock, if supported in hardware, allows for a
much better sub-microsecond precision and a common drift tracking for
all devices sharing the same wall clock (master clock).

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-10-23 16:13:48 +02:00
..
2012-10-09 07:07:14 +09:00
2012-10-09 07:07:14 +09:00
2011-08-17 00:53:54 +09:00
2011-05-19 14:10:45 -07:00
2012-04-30 23:36:20 +01:00
2012-09-28 14:21:54 +01:00
2005-04-16 15:20:36 -07:00
2009-02-05 09:17:50 +01:00
2006-03-22 10:24:57 +01:00
2012-01-03 22:54:56 -05:00
2008-11-17 11:45:39 +00:00
2010-10-18 16:46:27 -07:00
2011-02-14 17:10:11 +01:00
2006-01-03 12:18:06 +01:00
2005-04-16 15:20:36 -07:00
2012-04-26 17:48:42 +01:00
2010-02-12 10:31:06 +00:00
2012-01-26 16:07:55 +00:00
2011-09-20 16:02:16 +01:00
2009-12-18 13:06:47 +00:00
2011-08-08 14:30:37 +09:00
2010-04-30 16:12:44 +01:00