From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] Fix buffer position for ATI SB4x0 Date: Fri, 06 Jun 2008 18:49:28 +0200 Message-ID: References: <20080529111022.102bf250@gaivota> <20080606115232.411c13e3@gaivota> 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 (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id A361824431 for ; Fri, 6 Jun 2008 18:49:28 +0200 (CEST) In-Reply-To: <20080606115232.411c13e3@gaivota> 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: Mauro Carvalho Chehab Cc: alsa-devel List-Id: alsa-devel@alsa-project.org At Fri, 6 Jun 2008 11:52:32 -0300, Mauro Carvalho Chehab wrote: > > On Thu, 29 May 2008 16:20:21 +0200 > Takashi Iwai wrote: > > > At Thu, 29 May 2008 11:10:22 -0300, > > Mauro Carvalho Chehab wrote: > > > > > > ATI SB4x0 doesn't need any fix at position. > > > > It's not about the position fixing but whether to use the > > position-buffer. The devices on the blacklist are the ones that have > > no position buffer. So, it would fall into LPIB mode, and this list > > avoids it from the beginning. > > > > > This patch solves the issue of receiving several clicks during capture on those > > > devices. > > > > > > Tested with a Gateway Notebook MX-6453. > > > > The click noise is often a different problem. Did you already try > > the patch below? > > The click seems associated to some residual samples inside the buffer. Here it > is a sample of the king of click noise I'm hearing here (captured from CD input entry): > http://linuxtv.org/~mchehab/snd.ogg (I didn't check the ogg file yet, and just a wild guess) Is it with dsnoop plugin? With "default" PCM, ALSA uses dsnoop for capture to allow multiplexing for HD-audio. Does it happen with "hw" or "plughw" PCM? Takashi