Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#4774 - Extends SPDIF Enable option for Battery / Charger.

Attached to Project: Rockbox
Opened by Anonymous Submitter - Sunday, 05 March 2006, 11:41 GMT+2
Last edited by Peter D'Hoye (petur) - Thursday, 02 August 2007, 23:13 GMT+2
Task Type Patches
Category Battery/Charging
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

(against today's CVS).

This patch extends the "Optical Output" option on HAVE_SPDIF_POWER/HAVE_CHARGING platforms (iRivers) from "OFF/ON" to "OFF/Battery Only/Plugged Only/Battery & Plugged". SPDIF switching is then done automatically based on power status changes.

This is useful eg. when always using the optical out at home, but not wanting to draw unnecessary battery power on the move.

It also auto-disables it when USB is connected, and refreshes on disconnection.


The changes only affect HAVE_SPDIF_POWER/HAVE_CHARGING platforms (CONFIG_BLOCK_VERSION is bumped, so write a .cfg file before running).

Seems solid, no known issues.
--
gl.tter (gl.tter [AT] r-i-l [DOT] net)
This task depends upon

Closed by  Peter D'Hoye (petur)
Thursday, 02 August 2007, 23:13 GMT+2
Reason for closing:  Rejected
Additional comments about closing:  real name policy!
Comment by gl (gl.tter) - Sunday, 05 March 2006, 11:53 GMT+2
Here's the patch.
Comment by gl (gl.tter) - Sunday, 05 March 2006, 11:55 GMT+2
(note I created the task before signing up - hope this doesn't cause any problems).

Loading...