summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-10-29 12:09:15 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-10-29 12:09:15 +0000
commitfd0cc3b2b1302d77f3404861509e75c64fd505af (patch)
treeacdb25b87a549908424e052c04cc323d02b681f4 /apps/settings.h
parent8f11dc00ac1a0a5fe009d1d07d9a1378c3300ba8 (diff)
Phil Pertermann's dB peak meter patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2774 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index bc8767d532..655b2e0245 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -100,6 +100,10 @@ struct user_settings
int peak_meter_release; /* units per read out */
int peak_meter_hold; /* hold time for peak meter in 1/100 s */
int peak_meter_clip_hold; /* hold time for clips */
+ bool peak_meter_dbfs; /* show linear or dbfs values */
+ bool peak_meter_performance; /* true: high performance, else save energy*/
+ unsigned char peak_meter_min; /* range minimum */
+ unsigned char peak_meter_max; /* range maximum */
/* show status bar */
bool statusbar; /* 0=hide, 1=show */
@@ -121,6 +125,7 @@ int settings_save(void);
void settings_load(void);
void settings_reset(void);
void settings_apply(void);
+void settings_apply_pm_range(void);
void settings_display(void);
bool settings_load_config(char* file);