diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-11-14 22:18:51 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-11-14 22:18:51 +0000 |
commit | 83e190bceff1ff5eecd0a89f1536aa9d3cc85703 (patch) | |
tree | 7cea8a4369951623a41f357d9d20915cb41dc668 | |
parent | 31f76116f1b3188eb15a1b2caaa445d1770efb30 (diff) | |
download | rockbox-83e190bceff1ff5eecd0a89f1536aa9d3cc85703.tar.gz rockbox-83e190bceff1ff5eecd0a89f1536aa9d3cc85703.zip |
Hopefully fix the compile errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15625 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/gui/gwps-common.c | 2 | ||||
-rw-r--r-- | apps/gui/wps_debug.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index f2f4272292..7f1c52c7bf 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c | |||
@@ -1246,6 +1246,7 @@ static char *get_token_value(struct gui_wps *gwps, | |||
1246 | return buf; | 1246 | return buf; |
1247 | #endif | 1247 | #endif |
1248 | 1248 | ||
1249 | #ifdef HAVE_TAGCACHE | ||
1249 | case WPS_TOKEN_DATABASE_PLAYCOUNT: | 1250 | case WPS_TOKEN_DATABASE_PLAYCOUNT: |
1250 | if (intval) { | 1251 | if (intval) { |
1251 | *intval = id3->playcount + 1; | 1252 | *intval = id3->playcount + 1; |
@@ -1266,6 +1267,7 @@ static char *get_token_value(struct gui_wps *gwps, | |||
1266 | 1267 | ||
1267 | snprintf(buf, buf_size, "%d", id3->score); | 1268 | snprintf(buf, buf_size, "%d", id3->score); |
1268 | return buf; | 1269 | return buf; |
1270 | #endif | ||
1269 | 1271 | ||
1270 | #if (CONFIG_CODEC == SWCODEC) | 1272 | #if (CONFIG_CODEC == SWCODEC) |
1271 | case WPS_TOKEN_CROSSFADE: | 1273 | case WPS_TOKEN_CROSSFADE: |
diff --git a/apps/gui/wps_debug.c b/apps/gui/wps_debug.c index 9443f23730..d0e0f32030 100644 --- a/apps/gui/wps_debug.c +++ b/apps/gui/wps_debug.c | |||
@@ -426,9 +426,11 @@ static char *get_token_desc(struct wps_token *token, struct wps_data *data, | |||
426 | next_str(next), token->value.i); | 426 | next_str(next), token->value.i); |
427 | break; | 427 | break; |
428 | 428 | ||
429 | #if (CONFIG_CODEC != MAS3507D) | ||
429 | case WPS_TOKEN_SOUND_PITCH: | 430 | case WPS_TOKEN_SOUND_PITCH: |
430 | snprintf(buf, bufsize, "pitch value"); | 431 | snprintf(buf, bufsize, "pitch value"); |
431 | break; | 432 | break; |
433 | #endif | ||
432 | 434 | ||
433 | default: | 435 | default: |
434 | snprintf(buf, bufsize, "FIXME (code: %d)", | 436 | snprintf(buf, bufsize, "FIXME (code: %d)", |