diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-12 16:15:34 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-12 16:15:34 +0000 |
commit | 27cbf6bcea0d0280a2f5d46ccf460edb08187b17 (patch) | |
tree | e81ec5f1276174d394e1fd877272f428c1e9016d /apps/gui/wps_debug.c | |
parent | f9fb49284ef3c9ba03d33f3555f61ab5a1be9143 (diff) | |
download | rockbox-27cbf6bcea0d0280a2f5d46ccf460edb08187b17.tar.gz rockbox-27cbf6bcea0d0280a2f5d46ccf460edb08187b17.zip |
* 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
Diffstat (limited to 'apps/gui/wps_debug.c')
-rw-r--r-- | apps/gui/wps_debug.c | 10 |
1 files changed, 10 insertions, 0 deletions
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) | |||
188 | break; | 188 | break; |
189 | #endif | 189 | #endif |
190 | 190 | ||
191 | #if (CONFIG_CODEC == SWCODEC) | ||
192 | case WPS_TOKEN_CROSSFADE: | ||
193 | snprintf(buf, sizeof(buf), "crossfade"); | ||
194 | break; | ||
195 | |||
196 | case WPS_TOKEN_REPLAYGAIN: | ||
197 | snprintf(buf, sizeof(buf), "replaygain"); | ||
198 | break; | ||
199 | #endif | ||
200 | |||
191 | #ifdef HAVE_LCD_BITMAP | 201 | #ifdef HAVE_LCD_BITMAP |
192 | case WPS_TOKEN_IMAGE_BACKDROP: | 202 | case WPS_TOKEN_IMAGE_BACKDROP: |
193 | snprintf(buf, sizeof(buf), "backdrop image"); | 203 | snprintf(buf, sizeof(buf), "backdrop image"); |