diff options
Diffstat (limited to 'firmware/drivers/audio/imx233-codec.c')
-rw-r--r-- | firmware/drivers/audio/imx233-codec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/audio/imx233-codec.c b/firmware/drivers/audio/imx233-codec.c index 7406a8d076..94a1218d5e 100644 --- a/firmware/drivers/audio/imx233-codec.c +++ b/firmware/drivers/audio/imx233-codec.c | |||
@@ -46,6 +46,7 @@ void audiohw_close(void) | |||
46 | imx233_audioin_close(); | 46 | imx233_audioin_close(); |
47 | } | 47 | } |
48 | 48 | ||
49 | /* volume in centibels */ | ||
49 | void audiohw_set_volume(int vol_l, int vol_r) | 50 | void audiohw_set_volume(int vol_l, int vol_r) |
50 | { | 51 | { |
51 | imx233_audioout_set_hp_vol(vol_l / 5, vol_r / 5); | 52 | imx233_audioout_set_hp_vol(vol_l / 5, vol_r / 5); |
@@ -71,6 +72,7 @@ void audiohw_disable_recording(void) | |||
71 | imx233_audioin_close(); | 72 | imx233_audioin_close(); |
72 | } | 73 | } |
73 | 74 | ||
75 | /* volume in centibels */ | ||
74 | void audiohw_set_recvol(int left, int right, int type) | 76 | void audiohw_set_recvol(int left, int right, int type) |
75 | { | 77 | { |
76 | left /= 5; | 78 | left /= 5; |