All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Clemens Ladisch" <cladisch@fastmail.net>
To: John Rigg <ad@sound-man.co.uk>, Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: pcm_multi poll timeout error
Date: Tue, 08 Aug 2006 08:35:59 +0200	[thread overview]
Message-ID: <1155018959.29357.267870152@webmail.messagingengine.com> (raw)
In-Reply-To: <20060806150349.GA3461@localhost.localdomain>

John Rigg wrote:
> On Tue, Aug 01, 2006 at 12:43:44PM +0200, Takashi Iwai wrote:
> > John, could you check whether the problem still appears with the
> > latest ALSA HG version, especially with alsa-lib?  I remember that
> > some fixes have been done on multi plugin.
> 
> The problem still appears with alsa-lib-1.0.12rc2 version. There are
> no changes in pcm_multi since 1.0.11.

I can reproduce this problem.  It seems to be a bug in the multi plugin.

snd_pcm_multi_start() does not call snd_pcm_start() for any of its slave
PCMs that are linked to another, i.e., for slaves where the 'linked'
field in the slaves array is set.

snd_pcm_multi_hw_params() sets 'linked' for all but one of the slaves.
snd_pcm_multi_link_fd(), however, sets 'linked' for all its slaves, and
gets called for both the playback and capture PCMs in the full duplex
case.

This means that none of the slave PCMs ever gets started.  After jackd's
snd_pcm_start() call, the state is still PREPARED.


Regards,
Clemens
-- 
  Clemens Ladisch
  cladisch@fastmail.net


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

      parent reply	other threads:[~2006-08-08  6:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08 19:13 pcm_multi poll timeout error John Rigg
2005-12-09 11:40 ` Takashi Iwai
2005-12-09 17:16   ` John Rigg
2005-12-09 17:55     ` Jeremy Hall
2005-12-09 20:15       ` John Rigg
2005-12-12 11:31         ` Takashi Iwai
2006-08-01  2:04           ` Lee Revell
2006-08-01 10:43             ` Takashi Iwai
2006-08-01 22:58               ` John Rigg
2006-08-06 15:03               ` John Rigg
2006-08-07  9:38                 ` Takashi Iwai
2006-08-08  6:35                 ` Clemens Ladisch [this message]

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=1155018959.29357.267870152@webmail.messagingengine.com \
    --to=cladisch@fastmail.net \
    --cc=ad@sound-man.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --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.