? RplGntypetag%rt.patch ? replaygain-crossfade-wps-tag %rg %cf[offIxfadeImix].patch ? rplygntype.patch Index: apps/wps-display.c =================================================================== RCS file: /cvsroot/rockbox/apps/wps-display.c,v retrieving revision 1.137 diff -u -r1.137 wps-display.c --- apps/wps-display.c 10 Sep 2005 12:28:16 -0000 1.137 +++ apps/wps-display.c 22 Oct 2005 10:59:15 -0000 @@ -860,9 +860,14 @@ return buf; } break; - case 'r': /* Runtime database Information */ + case 'r': /* Runtime database Information & Replaygain*/ switch(tag[1]) - { + { + case 't': /*ReplayGain type*/ + *flags |= WPS_REFRESH_DYNAMIC; + *intval = global_settings.replaygain_type+1; + snprintf(buf, buf_size, "%d", global_settings.replaygain_type); + return buf; case 'p': /* Playcount */ *flags |= WPS_REFRESH_STATIC; snprintf(buf, buf_size, "%ld", cid3->playcount);