diff options
| author | Dan Everton <dan@iocaine.org> | 2006-08-14 10:52:05 +0000 |
|---|---|---|
| committer | Dan Everton <dan@iocaine.org> | 2006-08-14 10:52:05 +0000 |
| commit | 8030c804adf4df4a45eeecb3d93e983f58b0c9a0 (patch) | |
| tree | 75496afcd5a267a5b7786882f3e3e899a778df57 /apps/settings.h | |
| parent | 6ffe02b27c36acf4c74f31f7fc838d2fe3222e09 (diff) | |
| download | rockbox-8030c804adf4df4a45eeecb3d93e983f58b0c9a0.zip rockbox-8030c804adf4df4a45eeecb3d93e983f58b0c9a0.tar.gz rockbox-8030c804adf4df4a45eeecb3d93e983f58b0c9a0.tar.bz2 rockbox-8030c804adf4df4a45eeecb3d93e983f58b0c9a0.tar.xz | |
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.h')
| -rw-r--r-- | apps/settings.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index 369e1eb..2d2c125 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -542,6 +542,28 @@ struct user_settings #ifdef HAVE_LCD_BITMAP unsigned char kbd_file[MAX_FILENAME+1]; /* last keyboard */ #endif + +#ifdef HAVE_WM8758 + bool eq_hw_enabled; /* Enable hardware equalizer */ + + int eq_hw_band0_cutoff; + int eq_hw_band0_gain; + + int eq_hw_band1_center; + int eq_hw_band1_bandwidth; + int eq_hw_band1_gain; + + int eq_hw_band2_center; + int eq_hw_band2_bandwidth; + int eq_hw_band2_gain; + + int eq_hw_band3_center; + int eq_hw_band3_bandwidth; + int eq_hw_band3_gain; + + int eq_hw_band4_cutoff; + int eq_hw_band4_gain; +#endif }; enum optiontype { INT, BOOL }; |