diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2010-05-15 13:09:45 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2010-05-15 13:09:45 +0000 |
| commit | 80d0d15ca9b253f8a446f50cf25d3d4b850bcfd1 (patch) | |
| tree | 2598d3a019c33d6f9ea76010fd6d3a8301ef87a0 /apps/settings.h | |
| parent | 0f77db73469920f0b0006f696ddb36029338c378 (diff) | |
| download | rockbox-80d0d15ca9b253f8a446f50cf25d3d4b850bcfd1.zip rockbox-80d0d15ca9b253f8a446f50cf25d3d4b850bcfd1.tar.gz rockbox-80d0d15ca9b253f8a446f50cf25d3d4b850bcfd1.tar.bz2 rockbox-80d0d15ca9b253f8a446f50cf25d3d4b850bcfd1.tar.xz | |
Gigabeat S: Fully enable access to hardware tone controls and 3-D effect feature. Under the hood, it's designated a hardware equalizer since it is one. Implement code framework for hardware EQ in general. Menu aspect is well abstracted and so the UI and strings can be changed around if taste doesn't quite suit. So far the emphasis is distinction of the UI labelling from the software EQ so that it's clear the settings are for a different thing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26051 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
| -rw-r--r-- | apps/settings.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/apps/settings.h b/apps/settings.h index 2fdff99..c8e8d64 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -336,7 +336,7 @@ struct user_settings bool superbass; /* true/false */ #endif -#ifdef HAVE_WM8758 +#if defined(HAVE_WM8758) || defined(HAVE_WM8978) int bass_cutoff; int treble_cutoff; #endif @@ -831,6 +831,25 @@ struct user_settings /* When resuming playback (after a stop), rewind this number of seconds */ int resume_rewind; #endif + +#ifdef AUDIOHW_HAVE_DEPTH_3D + int depth_3d; +#endif + +#ifdef AUDIOHW_HAVE_EQ + /** Hardware EQ tone controls **/ + struct hw_eq_band + { + /* Maintain the order of members or sound_menu has to be changed */ + int gain; +#ifdef AUDIOHW_HAVE_EQ_FREQUENCY + int frequency; +#endif +#ifdef AUDIOHW_HAVE_EQ_WIDTH + int width; +#endif + } hw_eq_bands[AUDIOHW_EQ_BAND_NUM]; +#endif /* AUDIOHW_HAVE_EQ */ }; /** global variables **/ |