Rockbox mail archive
Subject: Re: Buffer Underrun
From: gerald clark (gerald_clark_at_mindspring.com)
change anti skip
WM = approx A410 + ( antiskip * F80 )
It does not appear to be calculating the watermark on the first play.
It does not appear to read the Anti skip value unless you change it.
gerald clark wrote:
> This is Really odd.
> Now the water mark is at 60000 on the same MP3.
> gerald clark wrote:
>> I am running current CVS version.
>> I like to listen to Wales Radio programs.
>> When playing 32Kbps 22KHz MP3 with anti skip set to the
>> max of 7 seconds, the watermark is at 0x11170.
>> In debug, I see that the buffer position display is
>> only updated every 0x10000 bytes. It appears that
>> the watermark is checked at this time.
>> Since with this MP3, this is every 10 seconds or so,
>> the buffer ocassionally underruns.
>> It does not even turn on the drive until after the buffer reaches 0.
>> Can't the buffer be compared to the water mark more often?
>> Perhaps every 0x8000 bytes instead?
Gerald L. Clark
Aero TerraTrike #1
Member: Sky Soaring
Archos Recorder JBR20101 1.28 0x302 positive 0x200 positive 11.0592
Page was last modified "Jan 10 2012" The Rockbox Crew