1
0
Fork 0
forked from len0rd/rockbox

imx233/fuze+: declare 3d audio capability, update lang accordingly

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30732 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Amaury Pouly 2011-10-08 12:29:37 +00:00
parent 670da39093
commit eb94b23db0
3 changed files with 11 additions and 5 deletions

View file

@ -12465,15 +12465,15 @@
user: core user: core
<source> <source>
*: none *: none
gigabeats,mpiohd200,mpiohd300: "3-D Enhancement" gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "3-D Enhancement"
</source> </source>
<dest> <dest>
*: none *: none
gigabeats,mpiohd200,mpiohd300: "3-D Enhancement" gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "3-D Enhancement"
</dest> </dest>
<voice> <voice>
*: none *: none
gigabeats,mpiohd200,mpiohd300: "3-D Enhancement" gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "3-D Enhancement"
</voice> </voice>
</phrase> </phrase>
<phrase> <phrase>

View file

@ -24,6 +24,8 @@
#define VOLUME_MIN -1000 #define VOLUME_MIN -1000
#define VOLUME_MAX -5 #define VOLUME_MAX -5
#define AUDIOHW_CAPS DEPTH_3D_CAP
void audiohw_set_volume(int v); void audiohw_set_volume(int v);
#endif /* __IMX233_CODEC_H_ */ #endif /* __IMX233_CODEC_H_ */

View file

@ -27,14 +27,13 @@
const struct sound_settings_info audiohw_settings[] = const struct sound_settings_info audiohw_settings[] =
{ {
[SOUND_VOLUME] = {"dB", 0, 1, -74, 6, -25}, [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_BALANCE] = {"%", 0, 1,-100, 100, 0},
[SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0},
[SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100}, [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100},
[SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 31, 23}, [SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 31, 23},
[SOUND_RIGHT_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_MIC_GAIN] = {"dB", 1, 1, 0, 1, 0},
[SOUND_DEPTH_3D] = {"%", 0, 1, 0, 15, 0},
}; };
void audiohw_init(void) void audiohw_init(void)
@ -59,3 +58,8 @@ void audiohw_set_recvol(int left, int right, int type)
(void) right; (void) right;
(void) type; (void) type;
} }
void audiohw_set_depth_3d(int val)
{
(void) val;
}