Notification on default sink changes

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

 



Hi,

I have a problem on my Cinnamon desktop where I unplug my USB soundcard,
plug it back in, PulseAudio changes the default sink back to the headset
in the background and the DE does not notice that fact. So volume
control is temporarily broken until I open the Sound Settings and set
the default device to the one PulseAudio is already using. All devices
are listed there because NewSink is emitted just fine.

I tried to read through the PulseAudio source code and it seems that
DEFAULT_SINK_CHANGED is not actually emitted as an event outside of
PulseAudio right now, although it exists as a core hook. Is there a
particular reason for that? Would it make sense to expose this over
DBus/PA's native protocol?

Kind regards and thanks
Philipp Kern

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 480 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20161028/cc7502e2/attachment-0001.sig>


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

  Powered by Linux