summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-03-06 23:25:25 -0500
committerSolomon Peachy <pizza@shaftnet.org>2021-03-07 12:51:36 +0000
commit207514fb2578cfac611b4ab98b251d1524a55efe (patch)
tree581cea233e7d0d5a1b0356552c1201ce1ca4bdd4 /apps/settings_list.c
parentc16f9142f7224007eeca9e44731db95af2b17a8e (diff)
downloadrockbox-207514fb2578cfac611b4ab98b251d1524a55efe.tar.gz
rockbox-207514fb2578cfac611b4ab98b251d1524a55efe.zip
voice: Allow voice prompt volume to be configurable
It defaults to 100%, allow it to be dialed back Change-Id: If997fb7d3057472a7fac0be4ae7d1e8fce654c49
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index e296582482..40dbdfa152 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -61,6 +61,8 @@
61#include "onplay.h" 61#include "onplay.h"
62#endif 62#endif
63 63
64#include "voice_thread.h"
65
64#if defined(DX50) || defined(DX90) 66#if defined(DX50) || defined(DX90)
65#include "governor-ibasso.h" 67#include "governor-ibasso.h"
66#include "usb-ibasso.h" 68#include "usb-ibasso.h"
@@ -1327,6 +1329,8 @@ const struct settings_list settings[] = {
1327 "talk filetype", NULL), 1329 "talk filetype", NULL),
1328 OFFON_SETTING(F_TEMPVAR, talk_battery_level, LANG_TALK_BATTERY_LEVEL, false, 1330 OFFON_SETTING(F_TEMPVAR, talk_battery_level, LANG_TALK_BATTERY_LEVEL, false,
1329 "Announce Battery Level", NULL), 1331 "Announce Battery Level", NULL),
1332 INT_SETTING(0, talk_mixer_amp, LANG_TALK_MIXER_LEVEL, 100,
1333 "talk mixer level", UNIT_PERCENT, 0, 100, 5, NULL, NULL, voice_set_mixer_level),
1330 1334
1331#ifdef HAVE_RECORDING 1335#ifdef HAVE_RECORDING
1332 /* recording */ 1336 /* recording */