<p><br>
>><br>
>> During Activating path analog-input-mic,<br>
>> You may need add pa_log_info() to element_set_volume() , element_set_switch() and element_set_option() to log  alsa mixer element and values (mic capture volume, mic capture switch and pcm capture source) set by pulseaudio<br>
><br>
> Do I need to put it into source code and recompile or what?<br>
></p>
<p>If you want to find out why mic was not selected </p>
<p>You need add pa_log_dbg to dump e->alsa_name and corresponding value for those snd_mixer_selem_set_* functions in element_set_volume() , element_set_switch() and element_set_option() <br><br><br></p>
<p>snd_mixer_selem_set_playback_dB();</p>
<p>snd_mixer_selem_set_capture_dB()</p>
<p> snd_mixer_selem_set_playback_switch_all();<br>
    <br>
 snd_mixer_selem_set_capture_switch_all();</p>
<p>snd_mixer_selem_set_enum_item()</p>