diff options
author | Udo Schläpfer <rockbox-2014.10@desktopwarrior.net> | 2015-01-30 22:47:30 +0100 |
---|---|---|
committer | Udo Schläpfer <rockbox-2014.10@desktopwarrior.net> | 2015-02-02 21:58:25 +0100 |
commit | 040306a71663d98f1ca568b61010ee125d1e6501 (patch) | |
tree | 369840173d587df590ce9674cfd0f62163034105 /apps/settings.h | |
parent | dbabd0d9c34a33bc0c51243ec37f230d117db955 (diff) | |
download | rockbox-040306a71663d98f1ca568b61010ee125d1e6501.tar.gz rockbox-040306a71663d98f1ca568b61010ee125d1e6501.tar.bz2 rockbox-040306a71663d98f1ca568b61010ee125d1e6501.zip |
iBasso DX50/DX90: User selectable freq scaling governor.
Depends on http://gerrit.rockbox.org/r/#/c/1043/.
This patch adds a new setting in Settings -> General
-> System: Freq Scaling Governor
Usable in Quickscreen and Shortcuts.
Possible settings are:
- Conservative: Slow frequency switching.
- Ondemand or Interactive: Fast frequency switching.
- Powersave: Allways lowest frequency.
- Performance: Allways highest frequency.
German translation provided.
This may be genric for Android kernel based devices but is only enabled
for iBasso Devices. Other maintainers may choose do adopt this.
Change-Id: I10296f5be9586ad3a409105db0cd03682a30e9c1
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index 4ea56d273e..5d25dc7ab0 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -850,6 +850,10 @@ struct user_settings int pbe_precut; int afr_enabled; + +#if defined(DX50) || defined(DX90) + int governor; +#endif }; /** global variables **/ |