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@lists.freedesktop.org
          Reporter: get...@gmail.com
        QA Contact: pulseaudio-bugs@lists.freedesktop.org
                CC: lenn...@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.
_______________________________________________
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to