mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
FS#13676: Fix sample rate options not being voiced correctly.
Regression introduced in 79b64a3fc7, 2023-09-01
Change-Id: I07a8529042e0ae3b563f04a4ffe211c23b830281
This commit is contained in:
parent
3b7dafb117
commit
b4a276e19e
1 changed files with 5 additions and 3 deletions
|
|
@ -734,10 +734,12 @@ static const char* formatter_freq_unit_0_is_auto(char *buffer, size_t buffer_siz
|
|||
|
||||
static int32_t getlang_freq_unit_0_is_auto(int value, int unit)
|
||||
{
|
||||
if (value == 0)
|
||||
if (value == 0) {
|
||||
return LANG_AUTO;
|
||||
else
|
||||
return talk_value_decimal(value, unit, 3, false);
|
||||
} else {
|
||||
talk_value_decimal(value, unit, 3, false);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static void playback_frequency_callback(int sample_rate_hz)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue