summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/settings.h b/apps/settings.h
index ff121868cb..055b893082 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -334,6 +334,7 @@ struct user_settings
334 bool replaygain; /* enable replaygain */ 334 bool replaygain; /* enable replaygain */
335 bool replaygain_track; /* true for track gain, false for album gain */ 335 bool replaygain_track; /* true for track gain, false for album gain */
336 bool replaygain_noclip; /* scale to prevent clips */ 336 bool replaygain_noclip; /* scale to prevent clips */
337 int replaygain_preamp; /* scale replaygained tracks by this */
337#endif 338#endif
338}; 339};
339 340
@@ -366,7 +367,8 @@ bool set_bool(const char* string, bool* variable );
366bool set_option(const char* string, void* variable, enum optiontype type, 367bool set_option(const char* string, void* variable, enum optiontype type,
367 const struct opt_items* options, int numoptions, void (*function)(int)); 368 const struct opt_items* options, int numoptions, void (*function)(int));
368bool set_int(const char* string, const char* unit, int voice_unit, int* variable, 369bool set_int(const char* string, const char* unit, int voice_unit, int* variable,
369 void (*function)(int), int step, int min, int max ); 370 void (*function)(int), int step, int min, int max,
371 void (*formatter)(char*, int, int, const char*) );
370bool set_time_screen(const char* string, struct tm *tm); 372bool set_time_screen(const char* string, struct tm *tm);
371int read_line(int fd, char* buffer, int buffer_size); 373int read_line(int fd, char* buffer, int buffer_size);
372void set_file(char* filename, char* setting, int maxlen); 374void set_file(char* filename, char* setting, int maxlen);