All of lore.kernel.org
 help / color / mirror / Atom feed
* pcm_multi poll timeout error
@ 2005-12-08 19:13 John Rigg
  2005-12-09 11:40 ` Takashi Iwai
  0 siblings, 1 reply; 12+ messages in thread
From: John Rigg @ 2005-12-08 19:13 UTC (permalink / raw)
  To: alsa-devel

On Sat, Dec 03, 2005 at 03:23:18PM +0000, John Rigg wrote:
> The pcm_multi plugin doesn't work currently with jackd in duplex mode. 
> It's OK for either capture or playback with multi cards, but a poll time out
> occurs in duplex mode. Several users have experienced this problem with
> multiple ice1712 and RME cards.
> After some testing I found the following:
> 
> alsa-lib-1.0.8 works
> alsa-lib-1.0.9rc1 onwards gives poll time out

I got my two Delta 1010s working with jackd and pcm_multi in duplex mode by
removing three functions that were added in pcm_multi.c rev 1.89:
snd_pcm_multi_link_fd_failed()
snd_pcm_multi_link_fd()
snd_pcm_multi_unlink()
along with two associated members of snd_pcm_multi_fast_ops structure:
.link_fd = snd_pcm_multi_link_fd
.unlink = snd_pcm_multi_unlink

I then started trying to debug the code causing the problem. Adding extra
printf's showed that none of the extra functions executed unless jackd was
started with both -C and -P devices (ie. duplex), and then only
snd_pcm_multi_link_fd(). This executed twice (once for capture and once for
playback presumably). Neither of the two other new functions was used when the
poll time out occurred.

Unfortunately I'm now getting a little out of my depth. I've been studying the
docs and the source code, but the source is a little sparse on comments and
hard to follow for someone of my limited programming experience.
Does anyone have any pointers for a dumb sound engineer/musician trying to
understand what this extra linking code in pcm_multi.c is supposed to be doing?

John


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-08-08  6:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.