1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/gui
PurlingNayuki f0bec023d9 Implement volume limiter feature
Add a "volume limit" parameter to the configuration file. The maximum
value of volume setting in sound menu will be limited to the same as
volume limit. Also each time when setvol() is excuted, Rockbox will
check if the global_settings.volume value larger than
global_settings.volume_limit. If larger, take the value of volume_limit
instead. The volume_limit argument shares the same maximum and minimum values
with volume argument, while taking the maximum volume as its default value.

Change-Id: I8ca9bc6ea6e617b48fc346aae5f2a0a1d259ae36
Reviewed-on: http://gerrit.rockbox.org/697
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2014-01-13 11:32:03 +01:00
..
bitmap lists: Adapt put_line(). 2014-01-07 14:13:40 +01:00
charcell lists: Adapt put_line(). 2014-01-07 14:13:40 +01:00
skin_engine skin_engine: Stricter checking for x, y, width, height for bar tags. 2014-01-12 23:13:45 +01:00
backdrop.c really the last of the red this time 2010-01-29 08:39:08 +00:00
backdrop.h fix the last of the red... note to self, fix backdrop.h! 2010-01-29 08:25:24 +00:00
buttonbar.c Missed two spots. 2011-10-15 19:47:59 +00:00
buttonbar.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
color_picker.c Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope. 2011-10-15 19:35:02 +00:00
color_picker.h color_picker: a bit of rework for color_picker. 2010-02-11 14:18:31 +00:00
folder_select.c folder_select: fix problem when selecting / as folder. 2012-08-15 23:10:28 +02:00
folder_select.h New GUI browser to select one (or more) folders. 2012-07-30 21:20:51 +02:00
icon.c icons: When loading mono icons keep them in mono format. 2014-01-11 14:19:43 +01:00
icon.h icons: Provide accessors to the icon format (mono or native). 2014-01-07 11:49:53 +01:00
line.c put_line(): Add another check against possible buffer overflow (see 193911a). 2014-01-12 19:19:05 +01:00
line.h put_line(): Limit and truncate inline strings to MAX_PATH+32. 2014-01-09 23:17:38 +01:00
list.c lists: Adapt put_line(). 2014-01-07 14:13:40 +01:00
list.h lists: Adapt put_line(). 2014-01-07 14:13:40 +01:00
option_select.c Implement volume limiter feature 2014-01-13 11:32:03 +01:00
option_select.h skin_engine: Make pressing the setting bar touch region work 2012-07-06 14:28:34 +10:00
pitchscreen.c Make rbcodec/dsp includes more specific. 2012-04-29 17:31:30 -04:00
pitchscreen.h Fix red in bootloaders 2009-07-11 17:16:23 +00:00
quickscreen.c scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api. 2013-12-14 23:11:30 +01:00
quickscreen.h Quickscreen: 4th item 2009-08-29 14:42:03 +00:00
scrollbar.c skin_engine: New param "noborder" for the bar tags. 2014-01-12 15:22:29 +01:00
scrollbar.h skin_engine: New param "noborder" for the bar tags. 2014-01-12 15:22:29 +01:00
splash.c scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api. 2013-12-14 23:11:30 +01:00
splash.h Move some gcc extensions to new gcc_extensions.h header 2010-07-25 14:44:29 +00:00
statusbar-skinned.c skinengine: Rework skin loading so skins can be un/loaded individually. This also means that loading a .cfg which doesnt change themes shouldnt have them reloaded 2011-11-21 10:02:23 +00:00
statusbar-skinned.h Use buflib for all skin engine allocations. 2011-11-15 14:11:08 +00:00
statusbar.c Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope. 2011-10-15 19:35:02 +00:00
statusbar.h Add more INIT_ATTR and add config.h includes to header files with INIT_ATTR. 2011-12-19 20:12:52 +00:00
usb_screen.c scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api. 2013-12-14 23:11:30 +01:00
usb_screen.h Fix warning on USB_NONE targets 2010-10-14 12:29:19 +00:00
viewport.c lcd-16bit: Remove {lss,lse,lst}_pattern fields from struct viewport. 2014-01-07 14:13:48 +01:00
viewport.h Commit FS#12321 - Touchscreen: List line padding, to more easily select lines 2011-10-17 17:38:10 +00:00
wps.c scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api. 2013-12-14 23:11:30 +01:00
wps.h Add more INIT_ATTR and add config.h includes to header files with INIT_ATTR. 2011-12-19 20:12:52 +00:00
yesno.c scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api. 2013-12-14 23:11:30 +01: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