diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2024-05-12 15:05:13 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2024-05-12 15:05:21 +0100 |
commit | 2061448341e07fd9242e5577aadd5f37740c19fa (patch) | |
tree | d304283c6dd429460cc15f2f7226f758dfd2de2a | |
parent | 5f377c2613b54acc752902fa7531b9d25b03863e (diff) | |
download | rockbox-2061448341.tar.gz rockbox-2061448341.zip |
Fix yellow in 5f377c2613b5
Change-Id: Ib593e7afea52bc768242aa93d304f38fa1aea054
-rw-r--r-- | apps/settings_list.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index d60fa510d8..974dd7f73e 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -818,6 +818,13 @@ static void volume_limit_set_default(void* setting, void* defaultval) *(int*)setting = sound_max(SOUND_VOLUME); } +static void stereosw_apply(int arg) +{ + (void)arg; + + sound_settings_apply(); +} + const struct settings_list settings[] = { /* sound settings */ SOUND_SETTING(F_NO_WRAP, volume, LANG_VOLUME, "volume", SOUND_VOLUME), @@ -2297,7 +2304,7 @@ const struct settings_list settings[] = { #endif #if defined(HAVE_EROS_QN_CODEC) CHOICE_SETTING(0, stereosw_mode, LANG_STEREOSW_MODE, 0, "stereo switch mode", - "normal,reverse,always0,always1", sound_settings_apply, 4, + "normal,reverse,always0,always1", stereosw_apply, 4, ID2P(LANG_NORMAL), ID2P(LANG_REVERSE), ID2P(LANG_ALWAYS_ZERO), ID2P(LANG_ALWAYS_ONE)), #endif }; |