summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2006-08-14 10:52:05 +0000
committerDan Everton <dan@iocaine.org>2006-08-14 10:52:05 +0000
commit8030c804adf4df4a45eeecb3d93e983f58b0c9a0 (patch)
tree75496afcd5a267a5b7786882f3e3e899a778df57 /apps/settings.c
parent6ffe02b27c36acf4c74f31f7fc838d2fe3222e09 (diff)
downloadrockbox-8030c804adf4df4a45eeecb3d93e983f58b0c9a0.tar.gz
rockbox-8030c804adf4df4a45eeecb3d93e983f58b0c9a0.zip
Add support for the iPod Video hardware equalizer. You can access it from Sound Settings -> Equalizer -> Hardware Equalizer. Note that the peak filters are reported not to work. Based on FS#5791 from Snyper.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10568 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 0901095dd6..2a232764fb 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -592,8 +592,28 @@ static const struct bit_entry hd_bits[] =
592#endif 592#endif
593#endif /* CONFIG_BACKLIGHT */ 593#endif /* CONFIG_BACKLIGHT */
594 594
595 595#ifdef HAVE_WM8758
596 {1, S_O(eq_hw_enabled), false, "eq hardware enabled", off_on },
596 597
598 {2, S_O(eq_hw_band0_cutoff), 1, "eq hardware band 0 cutoff", "80Hz,105Hz,135Hz,175Hz" },
599 {6|SIGNED, S_O(eq_hw_band0_gain), 12, "eq hardware band 0 gain", NULL },
600
601 {2, S_O(eq_hw_band1_center), 1, "eq hardware band 1 center", "230Hz,300Hz,385Hz,500Hz" },
602 {1, S_O(eq_hw_band1_bandwidth), 0, "eq hardware band 1 bandwidth", "narrow,wide" },
603 {6|SIGNED, S_O(eq_hw_band1_gain), 12, "eq hardware band 1 gain", NULL },
604
605 {2, S_O(eq_hw_band2_center), 1, "eq hardware band 2 center", "650Hz,850Hz,1.1kHz,1.4kHz" },
606 {1, S_O(eq_hw_band2_bandwidth), 0, "eq hardware band 2 bandwidth", "narrow,wide" },
607 {6|SIGNED, S_O(eq_hw_band2_gain), 12, "eq hardware band 2 gain", NULL },
608
609 {2, S_O(eq_hw_band3_center), 1, "eq hardware band 3 center", "1.8kHz,2.4kHz,3.2kHz,4.1kHz" },
610 {1, S_O(eq_hw_band3_bandwidth), 0, "eq hardware band 3 bandwidth", "narrow,wide" },
611 {6|SIGNED, S_O(eq_hw_band3_gain), 12, "eq hardware band 3 gain", NULL },
612
613 {2, S_O(eq_hw_band4_cutoff), 1, "eq hardware band 4 cutoff", "5.3kHz,6.9kHz,9kHz,11.7kHz" },
614 {6|SIGNED, S_O(eq_hw_band4_gain), 12, "eq hardware band 4 gain", NULL },
615#endif
616
597 /* If values are just added to the end, no need to bump the version. */ 617 /* If values are just added to the end, no need to bump the version. */
598 /* new stuff to be added at the end */ 618 /* new stuff to be added at the end */
599 619