diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/settings.c b/apps/settings.c index 13913f2d85..a267f51765 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -781,9 +781,6 @@ void settings_apply(bool read_disk) #ifdef HAVE_LCD_BITMAP int rc; #endif -#if CONFIG_CODEC == SWCODEC - int i; -#endif sound_settings_apply(); #ifdef HAVE_DISK_STORAGE @@ -991,7 +988,7 @@ void settings_apply(bool read_disk) /* Configure software equalizer, hardware eq is handled in audio_init() */ dsp_set_eq(global_settings.eq_enabled); dsp_set_eq_precut(global_settings.eq_precut); - for(i = 0; i < 5; i++) { + for(int i = 0; i < 5; i++) { dsp_set_eq_coefs(i); } @@ -999,7 +996,7 @@ void settings_apply(bool read_disk) #ifdef HAVE_PITCHSCREEN dsp_timestretch_enable(global_settings.timestretch_enabled); #endif - dsp_set_compressor(); + dsp_set_compressor(&global_settings.compressor_settings); #endif #ifdef HAVE_SPDIF_POWER |