[pulseaudio-tickets] [Bug 99425] New: Dbus fallback sink not updating and blocking further action

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 15 22:28:54 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99425

            Bug ID: 99425
           Summary: Dbus fallback sink not updating and blocking further
                    action
           Product: PulseAudio
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tools
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: getzze at gmail.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Using PulseAudio 9.0 on ArchLinux, more specifically on Gnome 3.22 with the
Laine extension (https://github.com/johnhoran/Laine). This extensions controls
and monitors PulseAudio using DBus. It listens to the signal
FallbackSinkUpdated and can change the property using Set FallbackSink.

I have an integrated sound card (Asus P5K Pro) with a front entry for headphone
and mic.

Steps to reproduce:
1. Connect front headphone jack.
2. Set default sink to front headphone, using Laine or pavucontrol.
3. Disconnect headphone jack. 
4. Connect jack again. 

In pavucontrol, the fallback sunk is the front headphone again. In Laine, it
cannot find a fallback. When calling the Get property on the interface
org.PulseAudio.Core1 for FallbackSink, the answer is that there are no sinks,
so no fallback sunk either. PulseAudio bus is somehow broken. Further calls to
Set FallbackSink do not work either. The Fallback sink can be changed from
pavucontrol though. 

When the headphone is disconnected, the RemovedSink signal is emitted and the
org.PulseAudio.Core1.Device interface for the headphone is removed. Then the
fallback sink is destroyed, but no FallbackSinkUpdated or FallbackSinkUnset
signal is emitted. Furthermore, any further call to the FallbackSink property
is broken.
Using pavucontrol or pacmd to change the fallback works and repairs the bus. 

When the fallback device is disconnected, I would expect a FallbackSinkUpdated
signal to be emitted and the bus to continue working.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20170115/27a85f58/attachment.html>


More information about the pulseaudio-bugs mailing list