AnsweredAssumed Answered

Imx6q - Playback sound captured from mic

Question asked by Şükrü Bahadır Arslan on Mar 20, 2018
Latest reply on Jun 26, 2018 by Diego Adrian Cuevas


I am trying to play audio and I want to record my sound with mic at the same time. But when I listen the recorded sound, I hear both speaker sound and mine voice. So how can ı eliminate the speaker sound from the mic sound ? 


Details :

Used processor : imx6q

PulseAudio version : 8.0

Audio codec : sgtl5000


capture tab of alsamixer :

Capture tab of alsamixer

playback tab of alsamixer :

playback tab of alsamixer


Device tree is like this :

sound {
compatible = "fsl,imx-sgtl5000",
model = "audio-sgtl5000";
ssi-controller = <&PICO_AUD_I2S_CHANNEL>;
audio-codec = <&codec>;
audio-routing =
"MIC_IN", "Mic Jack",
"Mic Jack", "Mic Bias",
"Headphone Jack", "HP_OUT";
#if defined(PICO_AUD_MUX_INT) && defined(PICO_AUD_MUX_EXT)
mux-int-port = <PICO_AUD_MUX_INT>;
mux-ext-port = <PICO_AUD_MUX_EXT>;
fsl,no-audmux = "true";


By the way,

PICO_AUD_MUX_INT is defined as 1 and PICO_AUD_MUX_EXT defined as 3

So How can ı fix this problem ?