diff options
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/audio/imx233-codec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/drivers/audio/imx233-codec.c b/firmware/drivers/audio/imx233-codec.c index ae812f865f..4afdfc6f8b 100644 --- a/firmware/drivers/audio/imx233-codec.c +++ b/firmware/drivers/audio/imx233-codec.c @@ -61,6 +61,9 @@ void audiohw_enable_recording(bool source_mic) imx233_audioin_open(); /* if source is microhpone we need to power the microphone too */ imx233_audioin_enable_mic(source_mic); + int src = source_mic ? AUDIOIN_SELECT_MICROPHONE : AUDIOIN_SELECT_LINE1; + imx233_audioin_select_mux_input(false, src); + imx233_audioin_select_mux_input(true, src); } void audiohw_disable_recording(void) |