rockbox/apps
Solomon Peachy 0abfb3ff78 voice: Include a simple string enumeration in voicestrings.zip
This maps the numerical IDs contained within the binary .vstrings files
to their logical LANG_* and VOICE_* names.

While not strictly needed to produce voice files, it adds the final
piece to be able to use vstrings files to produce the same voice files
as the existing 'make voice' flow that directly parses the language files.

The 'make voice' flow intentionally divert a few of the generated clips
into standalone files:

 * "invalid voice file"
 * <spoken language name>
 * <short pause>

For this to be possible, we need to know which specific entries in
vstrings map to the ones we care about, and without this enumeration
(which can change on a per-target or even per-build basis) this is
effectively impossible.

The produced lang-enum.txt is simple, with one entry per line of the
format: number:name

Note that nothing uses this new file yet; that will come in subsequent
commits.

Change-Id: Iec3fccbb6d503dd7e2d529aad318009a489b1d77
2026-01-09 20:47:34 -05:00
..
bitmaps Rockbox for the HiBy R3 Pro II/R1 2025-12-27 15:44:54 -05:00
gui plugin lrcplayer: Fix late rewinding at lrcplayer 2025-12-29 12:58:47 -05:00
hosted/android unicode: Support characters beyond the first unicode plane 2025-09-12 09:24:30 -04:00
iap IAP: First steps towards true multiport state 2025-08-20 07:56:43 -04:00
keymaps Creative ZENV: fix keymap 2026-01-03 20:03:24 -05:00
lang voice: Include a simple string enumeration in voicestrings.zip 2026-01-09 20:47:34 -05:00
menus eq_menu: fix talk menu setting not being respected 2025-12-29 13:43:50 +01:00
plugins lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
radio touchscreen: Allow progress bars to be used in the .sbs 2025-12-05 12:02:53 +00:00
recorder FS#13695: Fix crash in on-screen keyboard with codepoints > 0x7f 2025-11-23 08:36:39 -05:00
abrepeat.c [Cleanup] abrepeat.c 2024-06-20 11:14:27 -04:00
abrepeat.h [Cleanup] abrepeat.c 2024-06-20 11:14:27 -04:00
action.c touchscreen: Integrate gesture API with action system 2025-12-04 08:14:28 -05:00
action.h touchscreen: Fix seeking to end of track in WPS 2025-12-04 19:36:19 -05:00
alarm_menu.c voice: fix regression 39f8685 (already voiced) 2025-05-28 11:18:29 +02:00
alarm_menu.h
appevents.h
applimits.h
apps.make build: add 'lto' to features.txt if built with it 2024-11-30 13:49:42 -05:00
audio_path.c nwza860: fix simulator build 2020-10-19 03:39:33 +00:00
audio_thread.c [Feature] Persist pitch settings through reboots part deux 2025-01-19 00:29:47 -05:00
audio_thread.h
beep.c
bookmark.c Fix: Root dir bookmarks displayed for dynamic playlist 2025-03-11 00:00:18 -04:00
bookmark.h Fix return to root after selecting items from playlist viewer 2022-11-19 10:01:23 +01:00
buffering.c Codecs: mp3: Move strip tags to codec 2025-05-26 10:59:56 -04:00
buffering.h Codecs: mp3: Move strip tags to codec 2025-05-26 10:59:56 -04:00
codec_thread.c apps: cleanly disable codec buffering when not supported 2026-01-05 13:15:49 -05:00
codec_thread.h
codecs.c apps: cleanly disable codec buffering when not supported 2026-01-05 13:15:49 -05:00
core_asmdefs.c
core_keymap.c add INIT_ATTR to dircache_load and core_load_key_remap 2024-11-26 22:13:43 -05:00
core_keymap.h key remap: simplify and use movable allocations 2022-09-25 11:05:59 +01:00
cuesheet.c cuesheet: allow playback from arbitrarily named cue file 2025-12-10 17:37:19 -05:00
cuesheet.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
debug_menu.c Rockbox for the HiBy R3 Pro II/R1 2025-12-27 15:44:54 -05:00
debug_menu.h
enc_config.c Settings: Rename INT/BOOL setting type enum to RB_INT/RB_BOOL 2023-09-22 10:00:46 -04:00
enc_config.h
features.txt Rockbox for the HiBy R3 Pro II/R1 2025-12-27 15:44:54 -05:00
fileop.c Hide extension in Rename dialog when viewing single file type 2025-06-02 21:05:32 -04:00
fileop.h [Cleanup] onplay.c fileop.c 2024-07-04 12:44:04 -04:00
filetree.c plugins - Add PLUGIN_GOTO_ROOT - lua add PLUGIN_GOTO_ROOT and PLUGIN_ERROR 2025-12-05 12:03:58 -05:00
filetree.h Replace "Reload After Saving" with option to remove queued tracks 2024-04-21 18:28:16 +02:00
filetypes.c Fix: read_color_theme_file needed beyond init 2024-11-24 00:42:50 +01:00
filetypes.h filetypes.c compress builtin filetypes 2024-11-19 07:12:41 -05:00
fracmul.h
gesture.c touchscreen: Add gesture velocity helper 2025-12-04 08:14:28 -05:00
gesture.h touchscreen: Add gesture velocity helper 2025-12-04 08:14:28 -05:00
keyboard.h unicode: Support characters beyond the first unicode plane 2025-09-12 09:24:30 -04:00
language.c optimize language.c lang_english_to_id() 2024-12-30 23:17:57 -05:00
language.h lang: Support languages that speak the units before a numerical value 2023-05-22 10:30:13 -04:00
logfdisp.c misc.c open_pathfmt caller supplied buffer 2022-11-23 22:09:46 -05:00
logfdisp.h
main.c Nuke maemo (nokian800/nokian900) and [open]pandora targets 2025-12-03 20:42:02 -05:00
menu.c playlist catalog: sort independently from file browser 2025-05-30 08:30:47 -04:00
menu.h menus remove reserved 'param' parameter 2022-12-17 04:24:37 -05:00
misc.c Nuke maemo (nokian800/nokian900) and [open]pandora targets 2025-12-03 20:42:02 -05:00
misc.h shortcuts: add missing voice for sleep shortcuts without name 2025-06-06 19:12:07 +02:00
onplay.c plugins - Add PLUGIN_GOTO_ROOT - lua add PLUGIN_GOTO_ROOT and PLUGIN_ERROR 2025-12-05 12:03:58 -05:00
onplay.h Generate A-Z menus in the tagtree 2024-11-02 17:27:22 -04:00
open_plugin.c voice: Convert a pile of splashf() messages to be voiced 2025-05-17 17:33:46 -04:00
open_plugin.h open_plugin.c access open_plugin_entry through a function 2022-12-16 09:05:06 -05:00
pcmbuf.c [BugFix] Playback.c OOM with large voice file 2024-09-24 10:47:34 -04:00
pcmbuf.h [BugFix] Playback.c OOM with large voice file 2024-09-24 10:47:34 -04:00
playback.c apps: cleanly disable codec buffering when not supported 2026-01-05 13:15:49 -05:00
playback.h [Feature] playback logging from core 2025-01-13 00:45:09 -05:00
playlist.c playlist: fix missing cleanup on OOM in playlist_resume() 2026-01-04 00:05:16 +00:00
playlist.h playlist: remove support for PLAYLIST_COMMAND_CLEAR 2025-08-08 09:34:52 -04:00
playlist_catalog.c addendum to 498d581 2025-05-28 12:52:45 +02:00
playlist_catalog.h tagtree: defer context menu disk access 2025-04-17 08:23:45 -04:00
playlist_menu.h
playlist_viewer.c voice: replace splashf with talk equivalent 2025-06-02 21:04:19 -04:00
playlist_viewer.h Playlist Catalogue: Restore selection in playlist 2022-11-26 17:20:06 +01:00
plugin.c apps: remove lc_open_from_mem() from plugin API 2026-01-05 13:42:23 -05:00
plugin.h apps: remove lc_open_from_mem() from plugin API 2026-01-05 13:42:23 -05:00
rbcodec_helpers.c Remove buflib allocation names, part two 2023-01-13 10:32:54 +00:00
rbcodecconfig.h usbaudio: send through dsp (new) 2025-11-15 07:38:19 -05:00
rbcodecplatform.h
README
root_menu.c bugfix PLUGIN_GOTO_ROOT didn't reset previous screen 2025-12-07 13:10:04 -05:00
root_menu.h Add open_plugin to core 2020-08-17 10:15:14 -04:00
screen_access.c screen_access add set_drawinfo 2025-02-08 00:49:28 -05:00
screen_access.h screen_access add set_drawinfo 2025-02-08 00:49:28 -05:00
screens.c FS#13497: '0' is sometimes a valid track number 2025-12-06 09:20:32 -05:00
screens.h Show Track Info: Support fs tags in Playlist Viewer, Properties, and PictureFlow 2024-12-16 00:20:10 +01:00
settings.c Fix warnings on hibyr1/r3proii targets 2025-12-28 10:30:54 -05:00
settings.h Rockbox for the HiBy R3 Pro II/R1 2025-12-27 15:44:54 -05:00
settings_list.c Rockbox for the HiBy R3 Pro II/R1 2025-12-27 15:44:54 -05:00
settings_list.h shortcuts.c don't call settings_apply_skins() unless needed 2025-03-02 23:50:54 -05:00
shortcuts.c shortcuts: Power off while charging if supported 2025-10-26 09:25:09 -04:00
shortcuts.h [Feature] Set values of settings from shortcuts 2025-01-25 15:13:13 -05:00
sound_menu.h
SOURCES Creative ZEN: split ZEN V keymaps off from other ZEN targets 2025-12-29 23:20:06 +01:00
status.c [2/4] get rid of HAVE_LCD_CHARCELLS 2020-07-24 21:20:13 +00:00
status.h Add a comment about the ordering of 'enum playmode' 2022-11-23 10:08:49 -05:00
tagcache.c tagtree/tagcache add new clause operator contains_oneof 2026-01-04 22:55:40 -05:00
tagcache.h tagtree/tagcache add new clause operator contains_oneof 2026-01-04 22:55:40 -05:00
tagnavi.config tagnavi.config: Add "Album Artists by First Letter" 2025-02-08 12:14:32 -05:00
tagtree.c tagtree/tagcache add new clause operator contains_oneof 2026-01-04 22:55:40 -05:00
tagtree.h Reworks to the shuffle system to improve performance and allow fast shuffling from a big library (but this work for all database views) 2024-08-31 10:44:20 -04:00
talk.c talk: Rework utf8-awareness in talk_spell() 2025-11-23 12:08:51 -05:00
talk.h talk: Voice the volume name when browsing and when voicing full paths 2024-07-28 16:54:33 -04:00
tree.c 3ds: 3ds port sources. First set of two 2025-10-23 20:09:09 -04:00
tree.h 3ds: 3ds port sources. First set of two 2025-10-23 20:09:09 -04:00
usb_keymaps.c [Bugfix] FS#12436 cache mode strings prior to font disable 2025-03-11 11:41:17 -04:00
usb_keymaps.h [Bugfix] FS#12436 cache mode strings prior to font disable 2025-03-11 11:41:17 -04:00
voice_thread.c usbaudio: send through dsp (new) 2025-11-15 07:38:19 -05:00
voice_thread.h voice: Allow voice prompt volume to be configurable 2021-03-07 12:51:36 +00:00

For general information see: docs/README
For API information see: docs/API