Rockbox

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

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#6490 - iPod 4g+ click wheel piezo sound

Attached to Project: Rockbox
Opened by Christian Knochenhauer (kno) - Sunday, 31 December 2006, 20:50 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Saturday, 29 September 2007, 09:54 GMT+2
Task Type Patches
Category User Interface
Status Closed
Assigned To No-one
Player Type iPod 5G
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

Plays a click when browsing in filebrowser & options, and longer tones of different pitch when entering or leaving menus. If you only want the piezo to click, use BEEP_ONLY_CLICK compilation option. The only thing not working yet is a sound when leaving the browse plugin or the browse themes menus.

The support is hardcoded for the moment, I would appreciate the help of an experienced developper for including runtime enabling/disabling support and integrating this in the General Settings. This patch was built against cvs-20061231.

The core code is from Loader2 by slowcoder from iPodLinux, I just inserted it in Rockbox. It should run on any iPod 4g and more recent, although I only could test it on my 5.5 30g.

Comments, improvements etc. are very welcome.

Happy new year to everyone!
Christian.
(application/octet-stream)    ipod_piezo.patch (13.8 KiB)
 apps/SOURCES                       |    1 
 apps/tree.c                        |   64 +++++++++++++++++++++++++++++++++++++
 apps/menu.c                        |   10 +++++
 apps/gui/list.c                    |   16 +++++++++
 apps/gui/quickscreen.c             |    8 ++++
 firmware/export/config-ipodvideo.h |    3 +
 firmware/export/config-ipod4g.h    |    2 +
 apps/piezo.h                       |   51 +++++++++++++++++++++++++++++
 apps/piezo.c                       |   47 +++++++++++++++++++++++++++
 9 files changed, 202 insertions(+)

This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Saturday, 29 September 2007, 09:54 GMT+2
Reason for closing:  Duplicate
Additional comments about closing:   FS#5111  is a more advanced and up-to-date approach
Comment by Chris Banes (senab) - Wednesday, 03 January 2007, 10:39 GMT+2 Comment by Christopher Toth (Q) - Sunday, 25 March 2007, 08:43 GMT+2
Would it be possible for someone to resynchronize this patch with current svn? It greatly simplifies navigation (especially when using speech) and is generally quite useful. It seems that the updated menu system, the new settings using a .cfg instead of the hidden sector, and some other code changes have disabled it.

Loading...