Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Anti-skip buffer question

Re: Anti-skip buffer question

From: Brandon Low <lostlogic_at_lostlogicx.com>
Date: Thu, 27 Apr 2006 06:48:09 -0500

Backwards.

Larger antiskip buffer means shorter battery life, and more frequent
disk access.

|--Anti-Skip--|--Normal-buffer--|

The anti skip part of the above will never during normal use be emptied,
so only the normal buffer will be cycled through. The anti-skip part
will only be drawn into when the player can't read data from the disk
when it tries to.

Since the total buffer size is static, obviously the larger you make the
anti-skip buffer the less space there is for the normal buffer which is
cycled full during disk read, and then emptied during normal listening.

Brandon

On Thu, 04/27/06 at 12:34:27 +0100, Steve Bavin wrote:
> > The RAM is filled with audio data, the anti-skip buffer is the minimum
> > level of audio data allowed to be on that buffer before a refill is
> > triggered. Thus you have that many seconds of the HDD not being able to
> > read before the audio will skip, if you are shaking the player as it
> > starts a buffer fill.
>
> OK - then I would think a larger anti-skip buffer value should result in
> less frequent hard drive access (assuming normal listening, not skipping),
> and hence longer battery life. This seems to be contrary to the manual.
>
> What advantage does a small anti-skip buffer have? Why not just use as much
> RAM as possible for this?
>
> Steve Bavin
>
>
Received on 2006-04-27

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy