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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



.>
> Here is fresh verbose log with new debug messages:
http://pastebin.com/bfbrdfiv
> My debug lines start with element_set_option() and element_set_switch(),
also element_set_volume() was not called on start in my case, so it is not
present.

> I've tried to reflect in debug messages what exactly is printed.
>

(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Activating path
analog-input-mic
(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Path analog-input-mic
(Microphone), direction=2, priority=87, probed=yes, supported=yes,
has_mute=yes, has_volume=yes, has_dB=yes, min_volume=0, max_volume=48,
min_dB=-12, max_dB=12
(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Element Mic,
direction=2, switch=1, volume=1, volume_limit=-1, enumeration=0,
required=0, required_any=4, required_absent=0, mask=0x3600000000f66,
n_channels=2, override_map=yes
(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Element PCM Capture
Source, direction=2, switch=0, volume=0, volume_limit=-1, enumeration=1,
required=0, required_any=0, required_absent=0, mask=0x0, n_channels=0,
override_map=no
(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Option Mic
(analog-input-microphone/analog-input-microphone) index=0, priority=0
(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Element Line,
direction=2, switch=2, volume=2, volume_limit=-1, enumeration=0,
required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2,
override_map=no
(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Jack Mic,
alsa_name='Mic Jack', detection unavailable
(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Jack Mic Phantom,
alsa_name='Mic Phantom Jack', detection unavailable
(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Setting
analog-input-microphone (analog-input-microphone) priority=0
(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: element_set_switch():
e->alsa_name Line
(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: element_set_switch():
e->direction == PA_ALSA_DIRECTION_OUTPUT 33694896

Do you mean the direction is not input ?

(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: element_set_switch():
b 0

pulseaudio seem just turn off line switch instead of turn on nic capture
volum/switch when activating mic path

One line show element name , values or enum index and enum name instead of
three lines

(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: element_set_option():
e->alsa_name PCM Capture Source
(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: element_set_option():
e->switch_use == PA_ALSA_SWITCH_SELECT 0
(   0.090|   0.000) D: [lt-pulseaudio] alsa-mixer.c: element_set_option():
alsa_idx 0

snd_mixer_selem_get_enum_item_name() provide the name of enum item by index

Do you mean you still cannot force pulseaudio to use 24 bits for your
creative usb audio ?

Seem try auto format did not include 24bits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150621/f1bb453b/attachment.html>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux