Rockbox

Tasklist

FS#12353 - Improvement of the car adapter mode

Attached to Project: Rockbox
Opened by Stanislav Chizhik (anotherche) - Thursday, 27 October 2011, 05:47 GMT
Task Type Patches
Category Settings
Status Unconfirmed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Default delay before resume on power coming back used in rockbox (5 sec) is not always sufficient for a car audio head unit to finish the startup procedure.
1. The patch adds the menu setting to configure the delay in the range 5 to 30 seconds in 5 sec step.
2. Original car adapter mode processing doesn't distinguish if audio was paused due to power outage or by hand, so it resumes in any case on power coming back. The patch handles manual pause so that paused state is preserved on the power change.
3. The last, if user intervenes in playback control during delay-before-resume time interval the car adapter mode processing doesn't try to resume with this patch.

The patch is for r29795
This task depends upon

Comment by MichaelGiacomelli (saratoga) - Sunday, 30 October 2011, 21:57 GMT
How long does your car need? I think 5 seconds is pretty short, maybe we should just increase it a little in case other people have this problem as well.
Comment by Stanislav Chizhik (anotherche) - Monday, 31 October 2011, 03:33 GMT
In my car it can take up to ~15 sec. I understand that it's not desirable to increase the number of settings and weight of the rockbox code. But I believe that there are cases when 5 sec is just fine and cases when 30 sec is necessary. What are you thinking about two other options? The second requires an additional variable only, and I found it to be very useful. The third requires one if() only and makes the mode just more controllable.

Loading...