From 27cbf6bcea0d0280a2f5d46ccf460edb08187b17 Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Thu, 12 Apr 2007 16:15:34 +0000 Subject: * Add the crossfade (%xf) WPS tag * Avoid eating the whole line when unsuccessfully parsing a %x or %xl tag. This will prevent unknown tags starting with %x from making the line disappear. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13127 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/wps_debug.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apps/gui/wps_debug.c') diff --git a/apps/gui/wps_debug.c b/apps/gui/wps_debug.c index 4a8153d591..96f3e57038 100644 --- a/apps/gui/wps_debug.c +++ b/apps/gui/wps_debug.c @@ -188,6 +188,16 @@ void dump_wps_tokens(struct wps_data *data) break; #endif +#if (CONFIG_CODEC == SWCODEC) + case WPS_TOKEN_CROSSFADE: + snprintf(buf, sizeof(buf), "crossfade"); + break; + + case WPS_TOKEN_REPLAYGAIN: + snprintf(buf, sizeof(buf), "replaygain"); + break; +#endif + #ifdef HAVE_LCD_BITMAP case WPS_TOKEN_IMAGE_BACKDROP: snprintf(buf, sizeof(buf), "backdrop image"); -- cgit v1.2.3