Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

talk: Force-shutdown the voice system before loading a new voice

Otherwise we might actually be talking when we try to switch, or
otherwise trash the state of the running talk thread, leading to
memory corruption or an outright crash

(This fixes a panic observed on the xDuoo X3)

Change-Id: I78e4232085c5c160c9ee4f18167dad8dad2b9287

+3
+3
apps/talk.c
··· 919 919 #endif /* CONFIG_CODEC == SWCODEC */ 920 920 mutex_init(&read_buffer_mutex); 921 921 } 922 + 923 + talk_force_shutup(); /* In case we have something speaking! */ 924 + 922 925 talk_initialized = true; 923 926 strlcpy((char *)last_lang, (char *)global_settings.lang_file, 924 927 MAX_FILENAME);