summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-07-20 05:18:18 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-07-20 05:18:18 +0000
commit24b136f62de82d7419751b6aaeae0ad3d8497bea (patch)
treeb9bcfd07ca26f3da2f0ce500fc39e0719b3cbb8a /apps/main.c
parent4c4fb82d9c112ccbcc4c94a7d85fe82d09801844 (diff)
downloadrockbox-24b136f62de82d7419751b6aaeae0ad3d8497bea.tar.gz
rockbox-24b136f62de82d7419751b6aaeae0ad3d8497bea.zip
rework cuesheet support:
swcodec: search for a .cue during buffering (with the possibility of adding embedded cuesheets later) hwcodec: search for a .cue when the id3 info for the current track is requested for the first time (disk should be spining so non issue) major beenfit from this is simplofy cuesheet handling code a bit... if mp3entry.cuesheet != NULL then there is a valid cuesheet.. no need to worry about if its enabled and preloaded. There is the possibility of putting the next/prev subtrack handling inside the playback code (as well as the id3 updating stuff (see FS#9789 for more info), but thats probably not a good idea. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21978 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/main.c b/apps/main.c
index a7c8bef6c0..929c946334 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -110,8 +110,6 @@
110#include "m5636.h" 110#include "m5636.h"
111#endif 111#endif
112 112
113#include "cuesheet.h"
114
115#ifdef SIMULATOR 113#ifdef SIMULATOR
116#include "sim_tasks.h" 114#include "sim_tasks.h"
117#include "system-sdl.h" 115#include "system-sdl.h"
@@ -336,7 +334,6 @@ static void init(void)
336#endif /* CONFIG_CODEC != SWCODEC */ 334#endif /* CONFIG_CODEC != SWCODEC */
337 335
338 scrobbler_init(); 336 scrobbler_init();
339 cuesheet_init();
340#if CONFIG_CODEC == SWCODEC 337#if CONFIG_CODEC == SWCODEC
341 tdspeed_init(); 338 tdspeed_init();
342#endif /* CONFIG_CODEC == SWCODEC */ 339#endif /* CONFIG_CODEC == SWCODEC */
@@ -552,7 +549,6 @@ static void init(void)
552 tree_mem_init(); 549 tree_mem_init();
553 filetype_init(); 550 filetype_init();
554 scrobbler_init(); 551 scrobbler_init();
555 cuesheet_init();
556#if CONFIG_CODEC == SWCODEC 552#if CONFIG_CODEC == SWCODEC
557 tdspeed_init(); 553 tdspeed_init();
558#endif /* CONFIG_CODEC == SWCODEC */ 554#endif /* CONFIG_CODEC == SWCODEC */