diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-15 19:40:55 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch) | |
tree | 98ec96946eeb2ae709cb0528cc6998e21bb9b290 /apps/settings.c | |
parent | 17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff) | |
download | rockbox-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.c | 16 |
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 | ||
78 | void dac_line_in(bool enable); | ||
79 | #endif | ||
80 | struct user_settings global_settings; | 77 | struct user_settings global_settings; |
81 | struct system_status global_status; | 78 | struct 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); |