1
0
Fork 0
forked from len0rd/rockbox

Hopefully fix the compile errors.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15625 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2007-11-14 22:18:51 +00:00
parent 31f76116f1
commit 83e190bcef
2 changed files with 4 additions and 0 deletions

View file

@ -1246,6 +1246,7 @@ static char *get_token_value(struct gui_wps *gwps,
return buf;
#endif
#ifdef HAVE_TAGCACHE
case WPS_TOKEN_DATABASE_PLAYCOUNT:
if (intval) {
*intval = id3->playcount + 1;
@ -1266,6 +1267,7 @@ static char *get_token_value(struct gui_wps *gwps,
snprintf(buf, buf_size, "%d", id3->score);
return buf;
#endif
#if (CONFIG_CODEC == SWCODEC)
case WPS_TOKEN_CROSSFADE:

View file

@ -426,9 +426,11 @@ static char *get_token_desc(struct wps_token *token, struct wps_data *data,
next_str(next), token->value.i);
break;
#if (CONFIG_CODEC != MAS3507D)
case WPS_TOKEN_SOUND_PITCH:
snprintf(buf, bufsize, "pitch value");
break;
#endif
default:
snprintf(buf, bufsize, "FIXME (code: %d)",