From: Takashi Iwai Subject: Re: a11y: howto reduce latency with alsa's dmix plugin? Date: Fri, 04 Sep 2009 00:07:55 +0200 Message-ID: References: <20090823095517.GA27741@halim> <87fxb7j6pw.fsf@freenet.de> <87ab1dg1xq.fsf@freenet.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 3765610383B for ; Fri, 4 Sep 2009 00:07:55 +0200 (CEST) In-Reply-To: <87ab1dg1xq.fsf@freenet.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Halim Sahin Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 02 Sep 2009 10:56:17 +0200, Halim Sahin wrote: > > On Di, Sep 01 2009, Takashi Iwai wrote: > > > At best, we need a small C code that reproduces the behavior. > Ok here is a small example. > It's a modified version of pcm_min.c. > Simply press ctrl+c to reproduce the problematic behaviour. > on my machine it takes about an half sek to stop with an usb head which > uses dmix. Hmm, I cannot reproduce the problem, at least, dmix + HD-audio. After removing sleep(1), it quits immediately. Doesn't this problem happen if you use usb-audio with "hw" PCM? It's possible that the behavior of snd_pcm_drop() of usb-audio is different from others because of URB handling. Takashi