rockbox/apps/gui/skin_engine
Marcin Bukat da4c218046 skin_engine: fix the text of five recording tags
- %Rf printed the sample rate with "%lu.%1lu", a field width rather
  than a precision: 44100 Hz came out as "44.100", 22050 Hz as "22.50".
  It is now in kHz without trailing zeros: "44.1", "22.05", "48".
- %Re switched on the format setting plus one, so its text named the
  next format: "aiff" for WAV up to nothing for MP3. It now names the
  format set, MP3 as "mp3" like the others.
- %Rb printed the index of the MP3 bitrate setting, "12" for 128 kbps.
  It now prints the bitrate in kbps. Dead code from 2009 goes.
- %Rm was true for stereo: rec_channels is 0 for stereo. The classic
  status bar has shown the mono icon for stereo recordings since 2009.
- %Rn counted the minutes on past 59, so %Rh:%Rn:%Rs showed 01:61:05
  after an hour. It now counts within the hour, as %Rs does.

As conditionals %Rf, %Re and %Rb keep their values, so the classic
status bar's sample rate, format and bitrate icons are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Change-Id: Id9fb5c0b71fc0a44c5c7b3239a74397cb71090bf
2026-10-07 16:38:16 -04:00
..
skin_backdrops.c chore: Get rid of *all* vestigal CVS '$Id:$' tags 2026-06-01 16:01:18 -04:00
skin_display.c quickscreen: make %QT hide built-in UI 2026-08-22 20:23:07 +02:00
skin_display.h chore: Get rid of *all* vestigal CVS '$Id:$' tags 2026-06-01 16:01:18 -04:00
skin_engine.c skin_engine: make skin file type available to parser 2026-08-22 19:52:43 +02:00
skin_engine.h skin_display: simplify skin_wait_for_action 2026-08-22 15:35:10 +02:00
skin_parser.c quickscreen: make %QT hide built-in UI 2026-08-22 20:23:07 +02:00
skin_render.c skin: add %pX tag for time-based playlist progress 2026-06-27 12:29:31 -04:00
skin_tokens.c skin_engine: fix the text of five recording tags 2026-10-07 16:38:16 -04:00
skin_touchsupport.c chore: Get rid of *all* vestigal CVS '$Id:$' tags 2026-06-01 16:01:18 -04:00
wps_internals.h skin_engine: make skin file type available to parser 2026-08-22 19:52:43 +02:00