Skip to contentSkip to conversation

: stuttering audio output with SDL_audio applications

ALSA - driver 0000468 [email protected] 1 participant 1 message Aug 27, 2004

lore
Share & tools
lore
#0 lore raw

The following bug has been SUBMITTED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000468
======================================================================
Reported By: int-e
Assigned To:
======================================================================

Project:                    ALSA - driver
Bug 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:              08-27-2004 03:48 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.
======================================================================

Bug History
Date Modified Username Field Change
======================================================================

08-27-04 03:48 int-e          New Bug                                      
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         

======================================================================

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285