This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8053 - playback.c simplification by removal of last_track argument in track_(un)buffer callback
Attached to Project:
Rockbox
Opened by Bertrik Sikken (bertrik) - Tuesday, 30 October 2007, 22:02 GMT+2
Last edited by Nicolas Pennequin (nicolas_p) - Wednesday, 31 October 2007, 14:44 GMT+2
Opened by Bertrik Sikken (bertrik) - Tuesday, 30 October 2007, 22:02 GMT+2
Last edited by Nicolas Pennequin (nicolas_p) - Wednesday, 31 October 2007, 14:44 GMT+2
|
DetailsThis patch simplifies playback.c a bit by removing the last_track argument from track_buffer_callback and track_unbuffer_callback in playback.c and mpeg.c. The last_track argument is no longer used anywhere.
Removal of the argument allows further simplification of functions audio_clear_track_entries and audio_generate_postbuffer_events in playback.c by removing the need for special handling of the last track entry. |
This task depends upon
Closed by Nicolas Pennequin (nicolas_p)
Wednesday, 31 October 2007, 14:44 GMT+2
Reason for closing: Accepted
Additional comments about closing: Thanks!
Wednesday, 31 October 2007, 14:44 GMT+2
Reason for closing: Accepted
Additional comments about closing: Thanks!
Attached patch (against 15380) does further simplification in mpeg.c, made possible by the removal of the last_track argument.