From: Takashi Iwai Subject: Re: underruns and strange code in pcm_rate.c Date: Fri, 01 Feb 2008 16:07:22 +0100 Message-ID: References: <472E5A64.6010705@aknet.ru> <473091F4.80105@aknet.ru> <4731F2F4.2080704@aknet.ru> <4732097E.3040401@aknet.ru> <4732C455.7040503@aknet.ru> <473488CA.7050308@freescale.com> <1194869575.32342.1220819105@webmail.messagingengine.com> <47A23469.1010905@freescale.com> <47A330C1.7030205@freescale.com> 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 (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 8501A1037EC for ; Fri, 1 Feb 2008 16:07:23 +0100 (CET) In-Reply-To: <47A330C1.7030205@freescale.com> 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: Timur Tabi Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 01 Feb 2008 08:46:25 -0600, Timur Tabi wrote: > > Takashi Iwai wrote: > > > The bug report on BTS isn't more effectively handled than on ML... > > True, but at least I have a URL I can point to. That's handy. An ML archive has also a URL :) An advantage of ML is that it can involve developers more easily. > > I don't know whether you tested what Clemens suggested. > > If you mean disabling CONFIG_SND_PCM_OSS_PLUGINS, then yes, doing so does "fix" > the problem. That is, I don't get any more underruns, but then the application > is forced to do sample rate conversion. OK, now the question is in which condition this happens... > > If it's > > really a rate converter issue, then it should be possible to reproduce > > with other systems. First, we need to find out how to reproduce the > > bug with other drivers such as snd-dummy. > > It happens on my 8610 driver. Could you rewrite snd-dummy driver to behave like your driver? As mentionted, it's important to get the environment to reproduce the problem reliably independent on hardwares. thanks, Takashi