PCM Capture Source of usb audio not supported by pulseaudio

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

 



>
> (   0.094|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Setting
analog-input-microphone (analog-input-microphone) priority=0
> (   0.094|   0.000) D: [lt-pulseaudio] alsa-mixer.c:
element_set_switch(): e->alsa_name Line
> (   0.094|   0.000) D: [lt-pulseaudio] alsa-mixer.c:
element_set_switch(): e->direction == PA_ALSA_DIRECTION_OUTPUT 28404576
> (   0.094|   0.000) D: [lt-pulseaudio] alsa-mixer.c:
element_set_switch(): b 0
> (   0.094|   0.000) D: [lt-pulseaudio] alsa-mixer.c:
element_set_switch(): me 28912288
> (   0.094|   0.000) D: [lt-pulseaudio] alsa-mixer.c: element_set_switch
Line dir=2 index=0
>
> However, Mic is selected in sound menu.
>
>> The pcm capture source seem changed to mic which is index 0

>
> According to log output element_set_volume() is never called at start,
only when opening sound UI.
> But it goes to other if branch, because of write_to_hw being false.

Do you mean mic capture volume always reset to maximum by driver or
pulseaudio ?

pactl list sources

Why do write_to_hw change to false if you capture volume control have dB
scale ?

Creative_Technology_Ltd_SB_Omni_Surround_5.1_000000Q6-00"
namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no
deferred_volume=yes use_ucm=yes
card_properties="module-udev-detect.discovered=1"").

Do you mean PCM playback volume control does not have 6 channels volume
control change wtite to hw to false ?

> Here is fresh log of first run after restart: http://pastebin.com/GJyUiraP
> Mic was initially selected in UI, but didn't work, then I switched to
Line and back.

0.325|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Available mixer paths
(after tidying):
(   0.325|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Path Set 0x23d4720,
direction=2
(   0.325|   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.325|   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

What is the meanimg of required_any=4 and required = 0 for Element Mic ?

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

What is meaning of required=0, required_any=0 for Element PCM Capture
Source ?

(   0.325|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Option Mic
(analog-input-microphone/analog-input-microphone) index=0, priority=0
(   0.325|   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.325|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Jack Mic,
alsa_name='Mic Jack', detection unavailable
(   0.325|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Jack Mic Phantom,
alsa_name='Mic Phantom Jack', detection unavailable
(   0.325|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Setting
analog-input-microphone (analog-input-microphone) priority=0



0.325|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Path analog-input-linein
(Line In), direction=2, priority=81, 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.325|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Element Line,
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.325|   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.325|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Option Line
(analog-input-linein/analog-input-linein) index=1, priority=0
(   0.325|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Element Mic,
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.325|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Jack Line,
alsa_name='Line Jack', detection unavailable
(   0.325|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Jack Line Phantom,
alsa_name='Line Phantom Jack', detection unavailable
(   0.325|   0.000) D: [lt-pulseaudio] alsa-mixer.c: Setting
analog-input-linein (analog-input-linein) priority=0

Do the availability of both mic and line in ports are unknown since there
is no jack detection control ?

Do you mean pulseaudio select line in as active port when both ports are
unknown availability ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150623/6c5b621a/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