summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2009-11-11 17:38:00 +0000
committerJeffrey Goode <jeffg7@gmail.com>2009-11-11 17:38:00 +0000
commit0212de4c8d67337ccae180d52f09c26c236b256a (patch)
tree52ac05f3124441d06dfe6d60e307143416e6c5f0 /apps
parent35202026cbe6a77adbccbd7f59f7b69dafa2f3b2 (diff)
downloadrockbox-0212de4c8d67337ccae180d52f09c26c236b256a.tar.gz
rockbox-0212de4c8d67337ccae180d52f09c26c236b256a.zip
Add crossfade feature tag, update manual, fix crossfade WPS tag behavior
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23610 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/features.txt4
-rw-r--r--apps/gui/skin_engine/skin_tokens.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/features.txt b/apps/features.txt
index 14204dfb6d..d3e433ad45 100644
--- a/apps/features.txt
+++ b/apps/features.txt
@@ -42,6 +42,10 @@ button_light
42buttonlight_brightness 42buttonlight_brightness
43#endif 43#endif
44 44
45#if defined(HAVE_CROSSFADE)
46crossfade
47#endif
48
45#if defined(HAVE_DIRCACHE) 49#if defined(HAVE_DIRCACHE)
46dircache 50dircache
47#endif 51#endif
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c
index a456bbca23..d4adfa8c85 100644
--- a/apps/gui/skin_engine/skin_tokens.c
+++ b/apps/gui/skin_engine/skin_tokens.c
@@ -770,10 +770,10 @@ const char *get_token_value(struct gui_wps *gwps,
770 if (intval) 770 if (intval)
771 *intval = global_settings.crossfade + 1; 771 *intval = global_settings.crossfade + 1;
772 snprintf(buf, buf_size, "%d", global_settings.crossfade); 772 snprintf(buf, buf_size, "%d", global_settings.crossfade);
773 return buf;
774#else 773#else
775 return NULL; 774 snprintf(buf, buf_size, "%d", 0);
776#endif 775#endif
776 return buf;
777 777
778 case WPS_TOKEN_REPLAYGAIN: 778 case WPS_TOKEN_REPLAYGAIN:
779 { 779 {