Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Database
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by foobar12345 - 2008-07-25
Last edited by speachy - 2019-08-20

FS#9213 - Fix for audio dropout after startup

Since a few weeks, I’ve been noticing short audio dropouts a few seconds after starting Rockbox on an iAudio X5. I haven’t changed any settings recently (at least I can’t remember anything :-) and I haven’t done any Rockbox software upgrades. My guess is that’s it’s caused by my disk becoming more and more filled.

Using the debug log, I noticed that the dropouts happen after the “reverse scan…” message. The “audio thread” debug menu showed me that the dropouts are caused by PCM buffer underruns. So I added a yield()-call to the check_deleted_files() function and the dropouts were gone.

The patch below is against the latest SVN version. I tested it with an older Rockbox version, but the code looks sufficiently similar that I don’t see why this shouldn’t also work with the latest trunk. Could somebody please apply it?

Closed by  speachy
2019-08-20 11:18
Reason for closing:  Accepted
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

It only took ten years to merge this!

See 293e3e0fd7.

Sync'ed against daily build of 2009-02-24 (r20096), just a line offset.

It seems that it fixes the drop out: me too I have a quite full HD (ipod video 80 GB, about 65 GB used).
But I want to test it more.

But the problem still happens more times when the DAP is rebuilding the dircache.
I think that in this case the problem has a different nature.

I used RB normally, taking care that it doesn't rebuild the dircache: unfortunately, the problem is still present.

The HD is quite full, I will try to perform a "defrag" like operation, then I will inform you about the result

Finally I "defrag'ed" the DAP: I just copied all the HD content to an external HD, emptied the DAP's HD, then re-copied all. I don't know a defrag tool for a GNU system, except for "pyfragtools", but I never tested it.

The dropouts are disappeared!
Just for curiosity, I would like to test with a daily build, without this patch.

Thank you very much.

I never got the drop-out also without this patch. :-)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing