Rockbox

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

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#7251 - Remove unused struct members from the mp3entry struct and rearrange structs to save codesize.

Attached to Project: Rockbox
Opened by Nils Wallménius (nls) - Friday, 01 June 2007, 23:07 GMT+2
Last edited by Nils Wallménius (nls) - Thursday, 25 October 2007, 23:50 GMT+2
Task Type Patches
Category Music playback
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

This is a reworked version of the changes committed in revision 13527 which were later reverted because of a negative impact on binary size.

In this version I have rearranged the mp3entry struct and the track_info struct (in which the mp3entry struct is a member) this patch now decreases binary size.

Recorder v1 -256 bytes
iriver H300 -48 bytes
ipod video +4 bytes

I also bumped the codec api version as Lear pointed out that changes to these structs could break the api compatiblity. I added info about this to comments before each struct.
   mp3entry_struct.diff (6.7 KiB)
 apps/codecs.h         |    4 +-
 apps/playback.h       |   19 ++++++----
 firmware/export/id3.h |   94 +++++++++++++++++++++++++-------------------------
 3 files changed, 62 insertions(+), 55 deletions(-)

This task depends upon

Closed by  Nils Wallménius (nls)
Thursday, 25 October 2007, 23:50 GMT+2
Reason for closing:  Accepted
Additional comments about closing:  comitted relevant stuff no reordering
Comment by Nils Wallménius (nls) - Friday, 01 June 2007, 23:53 GMT+2
Bumped plugin api too, and adjusted comments. Thanks to linuxstb for pointing that out.
   mp3entry_struct2.diff (7.4 KiB)
 apps/codecs.h         |    4 +-
 apps/playback.h       |   19 ++++++----
 apps/plugin.h         |    4 +-
 firmware/export/id3.h |   94 +++++++++++++++++++++++++-------------------------
 4 files changed, 64 insertions(+), 57 deletions(-)

Loading...