diff --git a/apps/lang/english.lang b/apps/lang/english.lang index 5ee087eb1f..0e4d4bfc04 100644 --- a/apps/lang/english.lang +++ b/apps/lang/english.lang @@ -12465,15 +12465,15 @@ user: core *: none - gigabeats,mpiohd200,mpiohd300: "3-D Enhancement" + gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "3-D Enhancement" *: none - gigabeats,mpiohd200,mpiohd300: "3-D Enhancement" + gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "3-D Enhancement" *: none - gigabeats,mpiohd200,mpiohd300: "3-D Enhancement" + gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "3-D Enhancement" diff --git a/firmware/export/imx233-codec.h b/firmware/export/imx233-codec.h index 99d49f6adb..755e5ad768 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 e5bb093b2f..769216af87 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; +}