From: Takashi Iwai Subject: Re: trouble using dmix with tts systems (accessibility ) Date: Mon, 23 Mar 2009 11:07:15 +0100 Message-ID: References: <20090320092802.GA8779@halim> 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 mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 53E3324354 for ; Mon, 23 Mar 2009 11:07:15 +0100 (CET) In-Reply-To: <20090320092802.GA8779@halim> 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 Fri, 20 Mar 2009 09:28:02 +0000 (UTC), Halim Sahin wrote: > > hello, > > I have asked this question to alsa user list but got no useful answer. > > I am a blind linux user and need asistive Technology to use my pc. > The problem I have experienced with alsa is that it is sometimes too slow to stop > previous output before starting a new one. > The result of this ends in several speech outputs at a time. > The problem only occurs if the dmix plugin is used. Could you elaborate how the previous output is stopped, and how the next sample is started? Are they different processes, open/close sequences, or snd_pcm_drop() / prepare / re-start, or what? It'd be best if you could show a small test-case program to reproduce the problem... thanks, Takashi