All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: alsa-devel@alsa-project.org
Subject: Re: [PATCH 2/2] ALSA: hda: support for wallclock timestamps
Date: Sun, 30 Sep 2012 12:12:09 +0200	[thread overview]
Message-ID: <50681AF9.8000004@ladisch.de> (raw)
In-Reply-To: <5067562D.50704@linux.intel.com>

Pierre-Louis Bossart wrote:
> On 09/28/2012 04:33 AM, Clemens Ladisch wrote:
>> Pierre-Louis Bossart wrote:
>>> @@ -1712,6 +1777,7 @@ static struct snd_pcm_hardware azx_pcm_hw = {
>>>                    /* SNDRV_PCM_INFO_RESUME |*/
>>>                    SNDRV_PCM_INFO_PAUSE |
>>>                    SNDRV_PCM_INFO_SYNC_START |
>>> +                 SNDRV_PCM_INFO_HAS_WALL_CLOCK |
>>
>> ... but not if this device is connected to an S/PDIF input.
>
> Yeah, but I can't figure out what happens here. HDAudio is the clock
> master in all cases

Except for those cases described in section 5.4.3 of the HDA spec.

Finding out whether a device is connected to an S/PDIF input is not easy
and might change dynamically.

It might be easiest to omit HAS_WALL_CLOCK for inputs ...


Regards,
Clemens

  reply	other threads:[~2012-09-30 10:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-28  8:15 [PATCH 1/2] ALSA: core: add hooks for audio timestamps Pierre-Louis Bossart
2012-09-28  8:15 ` [PATCH 2/2] ALSA: hda: support for wallclock timestamps Pierre-Louis Bossart
2012-09-28  9:33   ` Clemens Ladisch
2012-09-29 20:12     ` Pierre-Louis Bossart
2012-09-30 10:12       ` Clemens Ladisch [this message]
2012-09-29  1:47   ` Raymond Yau
2012-09-28  9:33 ` [PATCH 1/2] ALSA: core: add hooks for audio timestamps Clemens Ladisch
2012-09-29 20:17   ` Pierre-Louis Bossart
2012-09-30 10:11     ` Clemens Ladisch
  -- strict thread matches above, loose matches on Subject: below --
2012-06-28 21:12 [PATCH 0/2] RFC: support for audio wall clock Pierre-Louis Bossart
2012-06-28 21:12 ` [PATCH 2/2] ALSA: hda: support for wallclock timestamps Pierre-Louis Bossart
2012-06-13 20:26 [PATCH 0/2] RFC: support for audio wall clock Pierre-Louis Bossart
2012-06-13 20:26 ` [PATCH 2/2] ALSA: hda: support for wallclock timestamps Pierre-Louis Bossart
2012-06-14  3:32   ` Wang Xingchao
2012-06-14  4:57     ` Pierre-Louis Bossart
2012-06-14  8:15       ` Clemens Ladisch
2012-06-14 17:01         ` Pierre-Louis Bossart
2012-06-14  7:38   ` Takashi Iwai
2012-06-15 10:02     ` Pierre-Louis Bossart
2012-06-15 10:34       ` Takashi Iwai

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=50681AF9.8000004@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    /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.