summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-15 19:40:55 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch)
tree98ec96946eeb2ae709cb0528cc6998e21bb9b290 /apps/settings.c
parent17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff)
downloadrockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.tar.gz
rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.zip
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 046c14628c..185e2c3576 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -74,9 +74,6 @@
74#include "bootchart.h" 74#include "bootchart.h"
75#include "scroll_engine.h" 75#include "scroll_engine.h"
76 76
77#if CONFIG_CODEC == MAS3507D
78void dac_line_in(bool enable);
79#endif
80struct user_settings global_settings; 77struct user_settings global_settings;
81struct system_status global_status; 78struct system_status global_status;
82 79
@@ -759,16 +756,6 @@ void sound_settings_apply(void)
759#endif 756#endif
760 sound_set(SOUND_CHANNELS, global_settings.channel_config); 757 sound_set(SOUND_CHANNELS, global_settings.channel_config);
761 sound_set(SOUND_STEREO_WIDTH, global_settings.stereo_width); 758 sound_set(SOUND_STEREO_WIDTH, global_settings.stereo_width);
762#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
763 sound_set(SOUND_LOUDNESS, global_settings.loudness);
764 sound_set(SOUND_AVC, global_settings.avc);
765 sound_set(SOUND_MDB_STRENGTH, global_settings.mdb_strength);
766 sound_set(SOUND_MDB_HARMONICS, global_settings.mdb_harmonics);
767 sound_set(SOUND_MDB_CENTER, global_settings.mdb_center);
768 sound_set(SOUND_MDB_SHAPE, global_settings.mdb_shape);
769 sound_set(SOUND_MDB_ENABLE, global_settings.mdb_enable);
770 sound_set(SOUND_SUPERBASS, global_settings.superbass);
771#endif
772#ifdef AUDIOHW_HAVE_BASS_CUTOFF 759#ifdef AUDIOHW_HAVE_BASS_CUTOFF
773 sound_set(SOUND_BASS_CUTOFF, global_settings.bass_cutoff); 760 sound_set(SOUND_BASS_CUTOFF, global_settings.bass_cutoff);
774#endif 761#endif
@@ -868,9 +855,6 @@ void settings_apply(bool read_disk)
868#ifdef HAVE_DISK_STORAGE 855#ifdef HAVE_DISK_STORAGE
869 storage_spindown(global_settings.disk_spindown); 856 storage_spindown(global_settings.disk_spindown);
870#endif 857#endif
871#if (CONFIG_CODEC == MAS3507D) && (CONFIG_PLATFORM & PLATFORM_NATIVE)
872 dac_line_in(global_settings.line_in);
873#endif
874 set_poweroff_timeout(global_settings.poweroff); 858 set_poweroff_timeout(global_settings.poweroff);
875 if (global_settings.sleeptimer_on_startup) 859 if (global_settings.sleeptimer_on_startup)
876 set_sleeptimer_duration(global_settings.sleeptimer_duration); 860 set_sleeptimer_duration(global_settings.sleeptimer_duration);