|
Rockbox mail archiveSubject: Re: rockboxx becoming non-responsive when changing volume a lotRe: rockboxx becoming non-responsive when changing volume a lot
From: Magnus Holmgren <lear_at_algonet.se>
Date: Wed, 03 Aug 2005 11:46:11 +0200 Magnus Holmgren wrote: > In sound.c:set_prescaled_volume, I added a pause (of 2 ticks) between > the two uda1380_* calls there, and that seems to have solved the > problem. Not the prettiest fix, but it does suggest that Rockbox calls > the uda* functions too quickly somehow (I haven't yet tried with a pause > in wps.c:setvol). Perhaps someone with better knowledge of the hardware > can make something out of that... > > (I also noticed that a define in the iRiver i2c driver was removed; > adding it back (thus removing a line of code) didn't have any effect on > its own.) Apparantly it did; I guess I didn't make a full restart (thus resetting the hardware) when trying it out... :) The sleep isn't necessary. Will commit a fix soon. Magnus _______________________________________________ http://cool.haxx.se/mailman/listinfo/rockbox Received on 2005-08-03 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |