diff options
| author | Dan Everton <dan@iocaine.org> | 2006-03-27 21:20:35 +0000 |
|---|---|---|
| committer | Dan Everton <dan@iocaine.org> | 2006-03-27 21:20:35 +0000 |
| commit | 91db36884525ee6c2822ff8ccbb7ac9df04d2890 (patch) | |
| tree | be0d204626e9d7659df9b19ba0ee6e9c26d3726c /apps/settings.c | |
| parent | 7eb4d6c3b88e41c4ab9716be493697b244856cbb (diff) | |
| download | rockbox-91db36884525ee6c2822ff8ccbb7ac9df04d2890.zip rockbox-91db36884525ee6c2822ff8ccbb7ac9df04d2890.tar.gz rockbox-91db36884525ee6c2822ff8ccbb7ac9df04d2890.tar.bz2 rockbox-91db36884525ee6c2822ff8ccbb7ac9df04d2890.tar.xz | |
Add precut setting for the equalizer and add some more comments to the eq menu code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9298 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
| -rw-r--r-- | apps/settings.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/settings.c b/apps/settings.c index 6fe9665..5552eaa 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -570,6 +570,10 @@ static const struct bit_entry hd_bits[] = {1, S_O(tagcache_ram), 0, "tagcache_ram", off_on }, #endif +#if (CONFIG_CODEC == SWCODEC) + {8, S_O(eq_precut), 0, "eq precut", NULL }, +#endif + /* If values are just added to the end, no need to bump the version. */ /* new stuff to be added at the end */ @@ -1125,10 +1129,11 @@ void settings_apply(void) audio_set_crossfade(global_settings.crossfade); dsp_set_replaygain(true); dsp_set_crossfeed(global_settings.crossfeed); - + + dsp_eq_set(global_settings.eq_enabled, global_settings.eq_precut); /* Update all EQ bands */ for(i = 0; i < 5; i++) { - dsp_eq_update_data(global_settings.eq_enabled, i); + dsp_eq_update_filter_coefs(i); } #endif |