From: Pierre-Louis Bossart Subject: [PATCH 0/2] RFC: support for audio wall clock Date: Wed, 13 Jun 2012 15:26:30 -0500 Message-ID: <1339619192-2733-1-git-send-email-pierre-louis.bossart@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by alsa0.perex.cz (Postfix) with ESMTP id C5E99104543 for ; Wed, 13 Jun 2012 22:26:44 +0200 (CEST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org Cc: Pierre-Louis Bossart List-Id: alsa-devel@alsa-project.org Attached a set of patches to show how the audio wall clock (eg. the HDAudio one) can be used to provide precise audio timestamps and track the drift between audio time and system time. On my laptop I am able to track a 7ppm delta. I will explain in more details how this can be used during LPC in San Diego, but with the summer coming I'd like to get feedback as there are changes to the core/alsa-lib that haven't been modified in years. Pierre-Louis Bossart (2): ALSA: core: add hooks for audio timestamps read from WALLCLOCK ALSA: hda: support for wallclock timestamps include/sound/asound.h | 7 +++- include/sound/pcm.h | 2 + sound/core/pcm_lib.c | 15 ++++++- sound/core/pcm_native.c | 2 + sound/pci/hda/hda_intel.c | 106 ++++++++++++++++++++++++++++++++++++++++++++- 5 files changed, 128 insertions(+), 4 deletions(-) -- 1.7.6.5