diff options
| author | Amaury Pouly <pamaury@rockbox.org> | 2011-10-08 12:29:37 +0000 |
|---|---|---|
| committer | Amaury Pouly <pamaury@rockbox.org> | 2011-10-08 12:29:37 +0000 |
| commit | eb94b23db0aeadf0c1faf07e5ec1ff07142121d3 (patch) | |
| tree | 6beb7b5565cd78d4bef46af1be925816657013a9 | |
| parent | 670da39093da79e1b3d1c6ba22909cac33f65262 (diff) | |
| download | rockbox-eb94b23db0aeadf0c1faf07e5ec1ff07142121d3.zip rockbox-eb94b23db0aeadf0c1faf07e5ec1ff07142121d3.tar.gz rockbox-eb94b23db0aeadf0c1faf07e5ec1ff07142121d3.tar.bz2 rockbox-eb94b23db0aeadf0c1faf07e5ec1ff07142121d3.tar.xz | |
imx233/fuze+: declare 3d audio capability, update lang accordingly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30732 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/lang/english.lang | 6 | ||||
| -rw-r--r-- | firmware/export/imx233-codec.h | 2 | ||||
| -rw-r--r-- | firmware/target/arm/imx233/audiohw-imx233.c | 8 |
3 files changed, 11 insertions, 5 deletions
diff --git a/apps/lang/english.lang b/apps/lang/english.lang index 5ee087e..0e4d4bf 100644 --- a/apps/lang/english.lang +++ b/apps/lang/english.lang @@ -12465,15 +12465,15 @@ user: core <source> *: none - gigabeats,mpiohd200,mpiohd300: "3-D Enhancement" + gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "3-D Enhancement" </source> <dest> *: none - gigabeats,mpiohd200,mpiohd300: "3-D Enhancement" + gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "3-D Enhancement" </dest> <voice> *: none - gigabeats,mpiohd200,mpiohd300: "3-D Enhancement" + gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "3-D Enhancement" </voice> </phrase> <phrase> diff --git a/firmware/export/imx233-codec.h b/firmware/export/imx233-codec.h index 99d49f6..755e5ad 100644 --- a/firmware/export/imx233-codec.h +++ b/firmware/export/imx233-codec.h @@ -24,6 +24,8 @@ #define VOLUME_MIN -1000 #define VOLUME_MAX -5 +#define AUDIOHW_CAPS DEPTH_3D_CAP + void audiohw_set_volume(int v); #endif /* __IMX233_CODEC_H_ */ diff --git a/firmware/target/arm/imx233/audiohw-imx233.c b/firmware/target/arm/imx233/audiohw-imx233.c index e5bb093..769216a 100644 --- a/firmware/target/arm/imx233/audiohw-imx233.c +++ b/firmware/target/arm/imx233/audiohw-imx233.c @@ -27,14 +27,13 @@ const struct sound_settings_info audiohw_settings[] = { [SOUND_VOLUME] = {"dB", 0, 1, -74, 6, -25}, - [SOUND_BASS] = {"dB", 0, 1, -24, 24, 0}, - [SOUND_TREBLE] = {"dB", 0, 1, -24, 24, 0}, [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100}, [SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 31, 23}, [SOUND_RIGHT_GAIN] = {"dB", 1, 1, 0, 31, 23}, [SOUND_MIC_GAIN] = {"dB", 1, 1, 0, 1, 0}, + [SOUND_DEPTH_3D] = {"%", 0, 1, 0, 15, 0}, }; void audiohw_init(void) @@ -59,3 +58,8 @@ void audiohw_set_recvol(int left, int right, int type) (void) right; (void) type; } + +void audiohw_set_depth_3d(int val) +{ + (void) val; +} |