summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 4661966ad2..3d3939695c 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -30,10 +30,8 @@
30#include "statusbar.h" /* for the statusbar values */ 30#include "statusbar.h" /* for the statusbar values */
31#include "quickscreen.h" 31#include "quickscreen.h"
32#include "button.h" 32#include "button.h"
33#if CONFIG_CODEC == SWCODEC
34#include "audio.h" 33#include "audio.h"
35#include "dsp_proc_settings.h" 34#include "dsp_proc_settings.h"
36#endif
37#include "rbpaths.h" 35#include "rbpaths.h"
38 36
39struct opt_items { 37struct opt_items {
@@ -218,9 +216,7 @@ enum {
218#ifdef HAVE_RECORDING 216#ifdef HAVE_RECORDING
219 SETTINGS_SAVE_RECPRESETS, 217 SETTINGS_SAVE_RECPRESETS,
220#endif 218#endif
221#if CONFIG_CODEC == SWCODEC
222 SETTINGS_SAVE_EQPRESET, 219 SETTINGS_SAVE_EQPRESET,
223#endif
224}; 220};
225bool settings_save_config(int options); 221bool settings_save_config(int options);
226 222
@@ -307,17 +303,6 @@ struct user_settings
307 int channel_config; /* Stereo, Mono, Custom, Mono left, Mono right, Karaoke */ 303 int channel_config; /* Stereo, Mono, Custom, Mono left, Mono right, Karaoke */
308 int stereo_width; /* 0-255% */ 304 int stereo_width; /* 0-255% */
309 305
310#if CONFIG_CODEC != SWCODEC
311 int loudness; /* loudness eq: 0-100 0=off 100=max */
312 int avc; /* auto volume correct: 0=off, 1=20ms, 2=2s 3=4s 4=8s */
313 int mdb_strength; /* 0-127dB */
314 int mdb_harmonics; /* 0-100% */
315 int mdb_center; /* 20-300Hz */
316 int mdb_shape; /* 50-300Hz */
317 bool mdb_enable; /* true/false */
318 bool superbass; /* true/false */
319#endif
320
321#ifdef AUDIOHW_HAVE_BASS_CUTOFF 306#ifdef AUDIOHW_HAVE_BASS_CUTOFF
322 int bass_cutoff; 307 int bass_cutoff;
323#endif 308#endif
@@ -325,7 +310,6 @@ struct user_settings
325 int treble_cutoff; 310 int treble_cutoff;
326#endif 311#endif
327 312
328#if CONFIG_CODEC == SWCODEC
329#ifdef HAVE_CROSSFADE 313#ifdef HAVE_CROSSFADE
330 /* Crossfade */ 314 /* Crossfade */
331 int crossfade; /* Enable crossfade (0=off, 1=shuffle, 2=trackskip, 315 int crossfade; /* Enable crossfade (0=off, 1=shuffle, 2=trackskip,
@@ -360,10 +344,8 @@ struct user_settings
360#ifdef HAVE_PITCHCONTROL 344#ifdef HAVE_PITCHCONTROL
361 bool timestretch_enabled; 345 bool timestretch_enabled;
362#endif 346#endif
363#endif /* CONFIG_CODEC == SWCODEC */
364 347
365#ifdef HAVE_RECORDING 348#ifdef HAVE_RECORDING
366#if CONFIG_CODEC == SWCODEC
367 int rec_format; /* record format index */ 349 int rec_format; /* record format index */
368 int rec_mono_mode; /* how to create mono: L, R, L+R */ 350 int rec_mono_mode; /* how to create mono: L, R, L+R */
369 351
@@ -377,9 +359,6 @@ struct user_settings
377#endif 359#endif
378 /* Encoder Settings End */ 360 /* Encoder Settings End */
379 361
380#else
381 int rec_quality; /* 0-7 */
382#endif /* CONFIG_CODEC == SWCODEC */
383 int rec_source; /* 0=mic, 1=line, 2=S/PDIF, 2 or 3=FM Radio */ 362 int rec_source; /* 0=mic, 1=line, 2=S/PDIF, 2 or 3=FM Radio */
384 int rec_frequency; /* 0 = 44.1kHz (depends on target) 363 int rec_frequency; /* 0 = 44.1kHz (depends on target)
385 1 = 48kHz 364 1 = 48kHz
@@ -754,10 +733,8 @@ struct user_settings
754#ifdef HAVE_PITCHCONTROL 733#ifdef HAVE_PITCHCONTROL
755 /* pitch screen settings */ 734 /* pitch screen settings */
756 bool pitch_mode_semitone; 735 bool pitch_mode_semitone;
757#if CONFIG_CODEC == SWCODEC
758 bool pitch_mode_timestretch; 736 bool pitch_mode_timestretch;
759#endif 737#endif
760#endif
761 /* If values are just added to the end, no need to bump plugin API 738 /* If values are just added to the end, no need to bump plugin API
762 version. */ 739 version. */
763 /* new stuff to be added at the end */ 740 /* new stuff to be added at the end */
@@ -778,9 +755,7 @@ struct user_settings
778#endif 755#endif
779#endif 756#endif
780 757
781#if CONFIG_CODEC == SWCODEC
782 struct compressor_settings compressor_settings; 758 struct compressor_settings compressor_settings;
783#endif
784 759
785 int sleeptimer_duration; /* In minutes; 0=off */ 760 int sleeptimer_duration; /* In minutes; 0=off */
786 bool sleeptimer_on_startup; 761 bool sleeptimer_on_startup;
@@ -797,10 +772,8 @@ struct user_settings
797 int hotkey_tree; 772 int hotkey_tree;
798#endif 773#endif
799 774
800#if CONFIG_CODEC == SWCODEC
801 /* When resuming playback (after a stop), rewind this number of seconds */ 775 /* When resuming playback (after a stop), rewind this number of seconds */
802 int resume_rewind; 776 int resume_rewind;
803#endif
804 777
805#ifdef AUDIOHW_HAVE_DEPTH_3D 778#ifdef AUDIOHW_HAVE_DEPTH_3D
806 int depth_3d; 779 int depth_3d;
@@ -830,10 +803,8 @@ struct user_settings
830#endif /* AUDIOHW_HAVE_EQ */ 803#endif /* AUDIOHW_HAVE_EQ */
831 804
832#ifdef HAVE_HARDWARE_CLICK 805#ifdef HAVE_HARDWARE_CLICK
833#if CONFIG_CODEC == SWCODEC
834 bool keyclick_hardware; /* hardware piezo keyclick */ 806 bool keyclick_hardware; /* hardware piezo keyclick */
835#endif 807#endif
836#endif
837 808
838 char start_directory[MAX_PATHNAME+1]; 809 char start_directory[MAX_PATHNAME+1];
839 /* Has the root been customized from the .cfg file? false = no, true = loaded from cfg */ 810 /* Has the root been customized from the .cfg file? false = no, true = loaded from cfg */