From: Takashi Iwai Subject: Re: pcm_multi poll timeout error Date: Mon, 12 Dec 2005 12:31:29 +0100 Message-ID: References: <20051209171605.GA4132@localhost.localdomain> <200512091755.jB9HtR5i008279@sith.maoz.com> <20051209201502.GA3751@localhost.localdomain> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20051209201502.GA3751@localhost.localdomain> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: John Rigg Cc: Jeremy Hall , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Fri, 9 Dec 2005 20:15:02 +0000, John Rigg wrote: > > On Fri, Dec 09, 2005 at 12:55:27PM -0500, Jeremy Hall wrote: > > In the new year, John Rigg wrote: > > > On Fri, Dec 09, 2005 at 12:40:05PM +0100, Takashi Iwai wrote: > > > > The link_fd returns the file descriptor for linking multiple PCM > > > > streams. If you comment it out, it means that no link is possible. > > > > It means that snd_pcm_link() didn't do anything in fact after your > > > > patch. > > > > > > I can't understand why this works after my patch broke snd_pcm_link . > > > > It probably works because the rme cards are synced by an external means > > such as word clock or the entity they are connected to has master sync > > Makes sense. So, the situation appears to be: > 1 - The link code is unnecessary for duplex operation of multiple > clock-synchronised sound cards with jackd. > 2 - It breaks the above when present. Hm, the question is what the cable-sync really does. Basically the linked PCM streams in ALSA are just for trigger actions, i.e. start/stop streams. The others are not really related. However, the recent changes of multi pcm tries to use only one pollfd as a master, and this seems broken in your case. Or, it's really the matter of linked streams. Will come back to this issue later... Takashi ------------------------------------------------------- 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