1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/gui
Aidan MacDonald 5b27e2255a Add perceptual volume adjustment
The perceived loudness change of a change in volume depends
on the listening volume: at high volumes a 1 dB increment is
noticeable, but at low volumes a larger increment is needed
to get a comparable change in loudness.

Perceptual volume adjustment accounts for this fact, and
divides the hardware volume range into a number of steps.
Each step changes the dB volume by a variable amount, with
most of the steps concentrated at higher volumes. This
makes it possible to sweep over the entire hardware volume
range quickly, without losing the ability to finely adjust
the volume at normal listening levels.

Use "Volume Adjustment Mode" in the system settings menu
to select perceptual volume mode. The number of steps used
is controlled by "Number of Volume Steps". (Number of steps
has no effect in direct adjustment mode.)

It's still possible to set a specific dB volume level from
the sound settings menu when perceptual volume is enabled,
and perceptual volume does not affect the volume displayed
by themes.

Change-Id: I6f91fd3f7c5e2d323a914e47b5653033e92b4b3b
2023-01-22 21:19:57 +00:00
..
bitmap Fix tree scrolling not showing end of text 2022-10-30 14:11:20 -04:00
skin_engine Remove buflib allocation names, part two 2023-01-13 10:32:54 +00:00
backdrop.c
backdrop.h
color_picker.c remove some sprintf putsxy calls in favor of putsxyf 2022-11-21 00:25:12 -05:00
color_picker.h color_picker: a bit of rework for color_picker. 2010-02-11 14:18:31 +00:00
folder_select.c replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
folder_select.h New GUI browser to select one (or more) folders. 2012-07-30 21:20:51 +02:00
icon.c consolidate bmp_read function between icons and skin_parser 2022-12-20 19:07:46 -05:00
icon.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
line.c remove some sprintf putsxy calls in favor of putsxyf 2022-11-21 00:25:12 -05:00
line.h lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
list.c Add perceptual volume adjustment 2023-01-22 21:19:57 +00:00
list.h Setttings: Eliminate gui_synclist_init_display_settings callbacks 2022-12-11 11:50:33 +01:00
mask_select.c mask_select guard against null pointers 2021-08-03 11:00:59 +00:00
mask_select.h Selective Backlight/Advanced Softlock - Selective actions based on context 2017-01-17 23:06:17 +01:00
option_select.c option_select & time_menu : Fix unbalanced push/pop activity 2022-12-30 10:35:50 -05:00
option_select.h skin engine: Settings ID to pointer conversions 2022-12-04 11:19:57 -05:00
pitchscreen.c pitchscreen make it a plugin 2021-11-10 22:38:37 -05:00
pitchscreen.h
quickscreen.c Add perceptual volume adjustment 2023-01-22 21:19:57 +00:00
quickscreen.h quickscreen: Settings ID to pointer conversion 2022-12-17 13:36:38 +00:00
scrollbar.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
scrollbar.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
splash.c fix strptokspn, add strcspn, fix splash.c 2022-11-13 01:14:49 -05:00
splash.h splash_progress add delay function 2022-10-13 00:10:25 -04:00
statusbar-skinned.c skin engine: Reduce scope of internal wps_data struct 2022-11-15 14:20:31 +00:00
statusbar-skinned.h skin engine: Reduce scope of internal wps_data struct 2022-11-15 14:20:31 +00:00
statusbar.c Remove dead code/documentation/comments 2021-12-24 10:37:28 -05:00
statusbar.h Remove dead code/documentation/comments 2021-12-24 10:37:28 -05:00
usb_screen.c wps.c cleanup gui_show_wps 2022-12-14 22:35:33 -05:00
usb_screen.h
viewport.c viewportmanager: Fix missing void in function definition 2022-11-17 16:12:19 +00:00
viewport.h Remove get_viewport_default_colour() 2022-11-17 16:12:19 +00:00
wps.c Add perceptual volume adjustment 2023-01-22 21:19:57 +00:00
wps.h Move skin global state to the WPS 2022-10-18 12:56:28 +01:00
yesno.c yesno_res gui_syncyesno_run fix scroll run-on bug 2022-10-16 13:02:12 -04:00
yesno.h Pull yesno_pop out of the radio code as it is a nice simple resuasble yesno api worth reusing 2011-07-21 06:40:01 +00:00