All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: Dylan Reid <dgreid@chromium.org>
Cc: Takashi Iwai <tiwai@suse.de>, alsa-devel@alsa-project.org
Subject: Re: [PATCH] ALSA: hda - Apply codec delay to wallclock.
Date: Mon, 08 Apr 2013 16:37:03 -0700	[thread overview]
Message-ID: <5163549F.1050304@linux.intel.com> (raw)
In-Reply-To: <CAEUnVG5Q05mtQSs=2=rMspUfMRYm8gS3G+FQRLZTWQq=Aap_rQ@mail.gmail.com>


> Of course you're right.  That's annoying, it will have to convert from
> ms to frames (in get_delay) then to ns here.  Converting from frames
> to ns here is a better idea, but for this particular codec, all I have
> is ms resolution.

This is odd, looks completely arbitrary...

> Pierre,
> What should the capture timestamp represent?  When the sample hits the
> A-to-D or when it is read out of the buffer?

When the samples hit A-to-D, as close as possible to the input (or the 
serial link if the codec doesn't report delay)
-Pierre

  reply	other threads:[~2013-04-08 23:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-06  0:22 [PATCH] ALSA: hda - Apply codec delay to wallclock Dylan Reid
2013-04-07  7:41 ` Takashi Iwai
2013-04-08 15:44   ` Dylan Reid
2013-04-08 16:31 ` Pierre-Louis Bossart
2013-04-08 16:34   ` Takashi Iwai
2013-04-08 16:56     ` Dylan Reid
2013-04-08 23:37       ` Pierre-Louis Bossart [this message]
2013-04-09  0:05         ` Dylan Reid

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5163549F.1050304@linux.intel.com \
    --to=pierre-louis.bossart@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=dgreid@chromium.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.