diff options
Diffstat (limited to 'apps')
-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, 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: 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, 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)", |