From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000468]: stuttering audio output with SDL_audio applications Date: Sat, 9 Apr 2005 04:28:03 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id BAD4426A for ; Sat, 9 Apr 2005 04:28:03 +0200 (MEST) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: int-e Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 468 Category: PCI - via82xx Reproducibility: sometimes Severity: major Priority: normal Status: new Distribution: Gentoo Kernel Version: 2.6.8.1 ====================================================================== Date Submitted: 08-27-2004 03:48 CEST Last Modified: 04-09-2005 04:28 CEST ====================================================================== Summary: stuttering audio output with SDL_audio applications Description: I traced this down to the check that's now called check_invalid_pos() in calc_linear_pos() in the driver being triggered with lastpos==bufsize and res==bufsize/2. I think lastpos should be 0 at that point. Moving the assignment viadev->lastpos = res; at the end of that function after the wrap handling if() solved the problem for me. ====================================================================== ---------------------------------------------------------------------- jdthood - 04-09-05 04:28 ---------------------------------------------------------------------- Submitter: Does the problem still exist in the latest ALSA release? Issue History Date Modified Username Field Change ====================================================================== 08-27-04 03:48 int-e New Issue 08-27-04 03:48 int-e File Added: via82xx.diff 08-27-04 03:48 int-e Distribution => Gentoo 08-27-04 03:48 int-e Kernel Version => 2.6.8.1 04-09-05 04:28 jdthood Note Added: 0004383 ====================================================================== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click