- Status Closed
- Percent Complete
- 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
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?
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.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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.