summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/lang/english.lang6
-rw-r--r--firmware/export/imx233-codec.h2
-rw-r--r--firmware/target/arm/imx233/audiohw-imx233.c8
3 files changed, 11 insertions, 5 deletions
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 @@
12465 user: core 12465 user: core
12466 <source> 12466 <source>
12467 *: none 12467 *: none
12468 gigabeats,mpiohd200,mpiohd300: "3-D Enhancement" 12468 gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "3-D Enhancement"
12469 </source> 12469 </source>
12470 <dest> 12470 <dest>
12471 *: none 12471 *: none
12472 gigabeats,mpiohd200,mpiohd300: "3-D Enhancement" 12472 gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "3-D Enhancement"
12473 </dest> 12473 </dest>
12474 <voice> 12474 <voice>
12475 *: none 12475 *: none
12476 gigabeats,mpiohd200,mpiohd300: "3-D Enhancement" 12476 gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "3-D Enhancement"
12477 </voice> 12477 </voice>
12478</phrase> 12478</phrase>
12479<phrase> 12479<phrase>
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 @@
24#define VOLUME_MIN -1000 24#define VOLUME_MIN -1000
25#define VOLUME_MAX -5 25#define VOLUME_MAX -5
26 26
27#define AUDIOHW_CAPS DEPTH_3D_CAP
28
27void audiohw_set_volume(int v); 29void audiohw_set_volume(int v);
28 30
29#endif /* __IMX233_CODEC_H_ */ 31#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 @@
27const struct sound_settings_info audiohw_settings[] = 27const struct sound_settings_info audiohw_settings[] =
28{ 28{
29 [SOUND_VOLUME] = {"dB", 0, 1, -74, 6, -25}, 29 [SOUND_VOLUME] = {"dB", 0, 1, -74, 6, -25},
30 [SOUND_BASS] = {"dB", 0, 1, -24, 24, 0},
31 [SOUND_TREBLE] = {"dB", 0, 1, -24, 24, 0},
32 [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, 30 [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0},
33 [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, 31 [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0},
34 [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100}, 32 [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100},
35 [SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 31, 23}, 33 [SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 31, 23},
36 [SOUND_RIGHT_GAIN] = {"dB", 1, 1, 0, 31, 23}, 34 [SOUND_RIGHT_GAIN] = {"dB", 1, 1, 0, 31, 23},
37 [SOUND_MIC_GAIN] = {"dB", 1, 1, 0, 1, 0}, 35 [SOUND_MIC_GAIN] = {"dB", 1, 1, 0, 1, 0},
36 [SOUND_DEPTH_3D] = {"%", 0, 1, 0, 15, 0},
38}; 37};
39 38
40void audiohw_init(void) 39void audiohw_init(void)
@@ -59,3 +58,8 @@ void audiohw_set_recvol(int left, int right, int type)
59 (void) right; 58 (void) right;
60 (void) type; 59 (void) type;
61} 60}
61
62void audiohw_set_depth_3d(int val)
63{
64 (void) val;
65}