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.

FS#13676: Fix sample rate options not being voiced correctly.

Regression introduced in 79b64a3fc7a, 2023-09-01

Change-Id: I07a8529042e0ae3b563f04a4ffe211c23b830281

+5 -3
+5 -3
apps/settings_list.c
··· 734 734 735 735 static int32_t getlang_freq_unit_0_is_auto(int value, int unit) 736 736 { 737 - if (value == 0) 737 + if (value == 0) { 738 738 return LANG_AUTO; 739 - else 740 - return talk_value_decimal(value, unit, 3, false); 739 + } else { 740 + talk_value_decimal(value, unit, 3, false); 741 + return -1; 742 + } 741 743 } 742 744 743 745 static void playback_frequency_callback(int sample_rate_hz)