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.zip rockbox-27cbf6bcea0d0280a2f5d46ccf460edb08187b17.tar.gz rockbox-27cbf6bcea0d0280a2f5d46ccf460edb08187b17.tar.bz2 rockbox-27cbf6bcea0d0280a2f5d46ccf460edb08187b17.tar.xz | |
* 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 4a8153d..96f3e57 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"); |