Bug#594001: Patch slightly improved + Questions

Alexander Kurtz kurtz.alex at googlemail.com
Mon Aug 23 22:03:25 UTC 2010


Hi,

I have attached a slightly improved version of my original patch. It is
still a hack but at least it won't just kill PA now without asking
questions.

I have also thought about a more proper solution and have come up with a
(IMHO) relatively good idea: I would basically write a new PA module
called `module-x11-connect', which connects to X in a new thread when
loaded and will crash PA once X is no longer available just like any
other X application, see `basic_idea.c' for - well - a basic idea of
just that.

Anyway, before I continue working on this I'd like to get some opinions
of the maintainters/upstream:
a) Do you agree that PA should exit together with X if it was started
   as a session daemon?
b) If the answer is yes, which is the best way to accomplish this?

As always I am open for ideas and absolutely don't mind  criticism!

Best regards

Alexander Kurtz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: terminate-with-x-session.patch
Type: text/x-patch
Size: 860 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-pulseaudio-devel/attachments/20100824/dc00d64a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: basic_idea.c
Type: text/x-csrc
Size: 440 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-pulseaudio-devel/attachments/20100824/dc00d64a/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-pulseaudio-devel/attachments/20100824/dc00d64a/attachment.pgp>


More information about the pkg-pulseaudio-devel mailing list