From 040306a71663d98f1ca568b61010ee125d1e6501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Udo=20Schl=C3=A4pfer?= Date: Fri, 30 Jan 2015 22:47:30 +0100 Subject: 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 --- apps/settings.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/settings.h') diff --git a/apps/settings.h b/apps/settings.h index 4ea56d2..5d25dc7 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 **/ -- cgit v1.1