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 1/2] ALSA: update sync header when streams are linked/unlinked
Date: Wed, 23 May 2012 21:32:08 +0200	[thread overview]
Message-ID: <4FBD3B38.4050005@ladisch.de> (raw)
In-Reply-To: <4FBD331E.7010802@linux.intel.com>

Pierre-Louis Bossart wrote:
>> The fact that the driver currently sets only the card number is
>> actually problematic.  It's not unique enough.  This should be fixed.
>> But, exposing the substream bitmask doesn't help much because it can't
>> be fully implemented in the sync id size.  If you need to know which
>> streams are linked, loop over all streams and check the sync id.
>
> If I understand you well, the sync id should be a unique identifier
> shared by all linked streams in the same group.

Just to clarify: does the sync id identify streams that are linked, or
streams that can be started atomically when linked?  Because at the
moment, all drivers implement the latter.  Furthermore, it's possible
to link completely unrelated devices, so not even the card number could
be used for the former.


Regards,
Clemens

  reply	other threads:[~2012-05-23 19:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-22 19:54 [PATCH 1/2] ALSA: update sync header when streams are linked/unlinked Pierre-Louis Bossart
2012-05-22 19:54 ` [PATCH 2/2] ALSA: core: group read of pointer, tstamp and jiffies Pierre-Louis Bossart
2012-05-22 23:52   ` Takashi Iwai
2012-05-22 23:47 ` [PATCH 1/2] ALSA: update sync header when streams are linked/unlinked Takashi Iwai
2012-05-23 18:57   ` Pierre-Louis Bossart
2012-05-23 19:32     ` Clemens Ladisch [this message]
2012-05-23 22:01       ` Pierre-Louis Bossart
2012-05-25  5:54     ` 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=4FBD3B38.4050005@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.