From 9f4bd8712fc122f61ec162c544d613a95c3ca66e Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Wed, 14 Feb 2007 14:40:24 +0000 Subject: Cuesheet support by Jonathan Gordon and me (FS #6460). Everytime an audio file is loaded, a cue file with the same name is searched for. A setting allows to disable this (default is off). Cuesheet files can also be viewed in the file browser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12304 a1c6a512-1295-4272-9138-f99709370657 --- apps/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps/main.c') diff --git a/apps/main.c b/apps/main.c index dac7ac755d..4c643c4130 100644 --- a/apps/main.c +++ b/apps/main.c @@ -103,6 +103,8 @@ #include "m5636.h" #endif +#include "cuesheet.h" + /*#define AUTOROCK*/ /* define this to check for "autostart.rock" on boot */ const char appsversion[]=APPSVERSION; @@ -274,7 +276,8 @@ static void init(void) global_settings.superbass); scrobbler_init(); - + cuesheet_init(); + /* audio_init must to know the size of voice buffer so init voice first */ #if CONFIG_CODEC == SWCODEC talk_init(); @@ -489,6 +492,7 @@ static void init(void) playlist_init(); tree_init(); scrobbler_init(); + cuesheet_init(); /* No buffer allocation (see buffer.c) may take place after the call to audio_init() since the mpeg thread takes the rest of the buffer space */ -- cgit v1.2.3