[pulseaudio-discuss] [PATCH] Added support for Creative SoundBlaster Omni Surround 5.1 USB sound card. Mic and Line in inputs were not working at all.

Raymond Yau superquad.vortex2 at gmail.com
Tue Jun 9 20:26:48 PDT 2015


>>
>> During Activating path analog-input-mic,
>> 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
>
> Do I need to put it into source code and recompile or what?
>

If you want to find out why mic was not selected

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()


snd_mixer_selem_set_playback_dB();

snd_mixer_selem_set_capture_dB()

 snd_mixer_selem_set_playback_switch_all();

 snd_mixer_selem_set_capture_switch_all();

snd_mixer_selem_set_enum_item()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150610/aefc864a/attachment.html>


More information about the pulseaudio-discuss mailing list