From: Takashi Iwai Subject: Re: Buffering issues 2 Date: Thu, 24 Apr 2008 11:47:54 +0200 Message-ID: References: <20080424011833.GA28905@tango.0pointer.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 mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 12853244EF for ; Thu, 24 Apr 2008 11:47:55 +0200 (CEST) In-Reply-To: <20080424011833.GA28905@tango.0pointer.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: Lennart Poettering Cc: ALSA Development Mailing List List-Id: alsa-devel@alsa-project.org At Thu, 24 Apr 2008 03:18:33 +0200, Lennart Poettering wrote: > > Heya! > > In addition to the buffering issues pointed out on http://mailman.alsa-project.org/pipermail/alsa-devel/2008-April/007354.html > I now have some more issues with the way buffering works in ALSA. > > This time I am pretty sure it's a bug in the HDA drivers. Yes, it's known that some (many?) HD-audio hardwares have bugs regarding the DMA position inquiry. They don't update the DMA positon properly and/or give inaccurate positions. The driver passes the value as hardware gives, and this seems to fool some apps (e.g. JACK). I'll try to implement some workaround in the driver, at least, not to return the wrong position in near future. Takashi