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
This commit is contained in:
Jeffrey Goode 2009-11-11 17:38:00 +00:00
parent 35202026cb
commit 0212de4c8d
5 changed files with 35 additions and 11 deletions

View file

@ -42,6 +42,10 @@ button_light
buttonlight_brightness
#endif
#if defined(HAVE_CROSSFADE)
crossfade
#endif
#if defined(HAVE_DIRCACHE)
dircache
#endif

View file

@ -770,10 +770,10 @@ const char *get_token_value(struct gui_wps *gwps,
if (intval)
*intval = global_settings.crossfade + 1;
snprintf(buf, buf_size, "%d", global_settings.crossfade);
return buf;
#else
return NULL;
snprintf(buf, buf_size, "%d", 0);
#endif
return buf;
case WPS_TOKEN_REPLAYGAIN:
{