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
2009-11-23 09:41:55 +01:00
2012-10-09 07:07:14 +09:00
2008-07-14 09:01:02 +02:00
2011-08-17 00:53:54 +09:00
2009-09-21 15:44:51 +02:00
2010-04-04 12:21:39 +02:00
2009-09-21 15:44:39 +02:00
2007-10-16 16:51:18 +02:00
2012-10-02 18:01:25 +01:00
2011-05-19 14:10:45 -07:00
2010-10-21 13:51:13 -07:00
2012-10-09 09:49:13 +01:00
2012-10-09 09:49:13 +01:00
2012-04-18 08:00:36 +02:00
2009-02-05 15:08:48 +01:00
2009-02-05 15:08:51 +01:00
2012-08-20 20:50:37 +01:00
2012-03-18 18:22:37 +01:00
2012-04-10 14:53:55 +02:00
2012-04-30 23:36:20 +01:00
2009-11-18 07:23:16 +01:00
2011-02-08 11:26:14 +00:00
2007-10-16 16:51:18 +02:00
2007-10-16 16:51:18 +02:00
2012-09-28 14:21:54 +01:00
2012-06-22 10:25:45 +01:00
2012-06-20 15:39:05 +01:00
2012-10-02 18:01:25 +01:00
2012-10-09 09:49:13 +01:00
2005-04-16 15:20:36 -07:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2007-10-16 15:58:10 +02: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
2012-08-03 12:57:44 +02:00
2012-02-27 17:34:44 +01:00
2012-10-09 09:49:13 +01:00
2008-11-17 11:45:39 +00:00
2012-01-30 21:50:55 +00:00
2010-10-18 16:46:27 -07:00
2012-05-13 23:33:53 +01:00
2012-09-23 11:24:42 +02:00
2011-12-23 10:07:46 +01:00
2011-02-14 17:10:11 +01:00
2012-10-02 18:01:25 +01:00
2008-02-22 14:20:08 -08:00
2006-01-03 12:18:06 +01:00
2010-01-07 15:47:38 +01:00
2012-06-20 12:00:59 +02:00
2007-10-16 16:51:18 +02:00
2012-10-23 16:13:48 +02:00
2007-02-09 09:00:05 +01:00
2009-04-15 10:54:06 +08:00
2012-10-02 18:01:25 +01:00
2008-11-17 11:45:53 +00:00
2011-12-02 13:56:42 +08:00
2012-10-09 09:49:13 +01:00
2012-10-02 18:01:25 +01:00
2006-01-03 12:17:52 +01:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2005-04-16 15:20:36 -07:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2009-11-04 09:17:40 +01:00
2012-05-19 19:41:45 +01:00
2012-04-13 11:29:25 +01:00
2012-10-02 18:01:25 +01:00
2012-08-20 20:50:37 +01:00
2012-09-26 12:29:59 +01:00
2012-04-26 17:48:42 +01:00
2012-09-18 22:51:23 -04:00
2012-10-02 18:01:25 +01:00
2012-06-22 10:27:29 +01:00
2012-06-23 11:58:10 +01:00
2011-11-14 21:36:43 +00:00
2012-09-13 17:42:12 -03:00
2012-10-02 18:01:25 +01:00
2012-09-06 06:29:33 +08:00
2007-10-16 16:51:18 +02:00
2011-08-12 11:45:10 +09:00
2011-03-04 18:21:08 +00:00
2011-05-11 16:12:35 +01:00
2012-09-06 18:01:16 +02:00
2011-09-21 16:07:45 +01:00
2010-06-25 12:29:01 +01:00
2009-06-15 21:54:48 +01:00
2006-03-22 10:24:57 +01:00
2012-07-03 08:23:03 +02:00
2006-01-08 20:14:07 -08:00
2012-08-23 16:12:12 +01:00
2011-09-23 17:05:38 +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
2011-12-06 10:29:22 +00:00
2010-03-16 16:03:30 +00:00
2009-12-18 13:06:47 +00:00
2012-09-21 08:35:06 -04:00
2012-01-24 21:19:45 +00:00
2012-08-22 19:00:37 +01:00
2011-08-08 14:30:37 +09:00
2011-03-01 23:30:53 +00:00
2010-04-30 16:12:44 +01:00
2012-10-02 18:01:25 +01:00