diff options
| author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-08-30 19:40:09 +0000 |
|---|---|---|
| committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-08-30 19:40:09 +0000 |
| commit | e88d24a8407ee3fca32cf08399ce895c49c80fc0 (patch) | |
| tree | c1f5b054ae0a80ab4b72f33547742577d34c48ec /apps/codecs.c | |
| parent | e66ad3e8a86a19b9ef9480bc52766e61955f341d (diff) | |
| download | rockbox-e88d24a8407ee3fca32cf08399ce895c49c80fc0.zip rockbox-e88d24a8407ee3fca32cf08399ce895c49c80fc0.tar.gz rockbox-e88d24a8407ee3fca32cf08399ce895c49c80fc0.tar.bz2 rockbox-e88d24a8407ee3fca32cf08399ce895c49c80fc0.tar.xz | |
Submit parts of FS#12189 regarding codec API. Replaces access to global settings with a dedicated function to determine if the current track shall be looped. Used by several synthesizer codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30391 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs.c')
| -rw-r--r-- | apps/codecs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs.c b/apps/codecs.c index cd4a9d5..93542e3 100644 --- a/apps/codecs.c +++ b/apps/codecs.c @@ -50,6 +50,7 @@ #include "sound.h" #include "splash.h" #include "general.h" +#include "rbpaths.h" #define LOGF_ENABLE #include "logf.h" @@ -97,6 +98,7 @@ struct codec_api ci = { NULL, /* set_offset */ NULL, /* configure */ NULL, /* get_command */ + NULL, /* loop_track */ /* kernel/ system */ #if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE @@ -127,7 +129,6 @@ struct codec_api ci = { memmove, memcmp, memchr, - strcasestr, #if defined(DEBUG) || defined(SIMULATOR) debugf, #endif @@ -136,7 +137,6 @@ struct codec_api ci = { #endif (qsort_func)qsort, - &global_settings, #ifdef RB_PROFILE profile_thread, |