: stuttering audio output with SDL_audio applications
The following issue has been CLOSED
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=468>
======================================================================
Reported By: int-e
Assigned To:
======================================================================
Project: ALSA - driver Issue ID: 468 Category: PCI - via82xx Reproducibility: sometimes Severity: major Priority: normal Status: closed Distribution: Gentoo Kernel Version: 2.6.8.1 Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 08-27-2004 03:48 CEST Last Modified: 07-08-2005 10:38 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.
======================================================================
----------------------------------------------------------------------
int-e - 04-09-05 11:37
----------------------------------------------------------------------
I can't reproduce the problem on linux kernel version 2.6.11.7. check_invalid_pos() does not seem to get triggered any more either, so I suppose it's fixed.
Thank you.
----------------------------------------------------------------------
jdthood - 04-09-05 12:03
----------------------------------------------------------------------
Thanks for the info.
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 04-09-05 11:37 int-e Note Added: 0004391 04-09-05 12:03 jdthood Note Added: 0004392 04-09-05 12:03 jdthood Status new => resolved 04-09-05 12:03 jdthood Resolution open => fixed 04-09-05 12:03 jdthood Summary stuttering audio output
with SDL_audio applications
=> stuttering audio output with SDL_audio applications
07-08-05 10:38 perex Status resolved => closed
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar