[pulseaudio-discuss] [PATCH v1 0/2] Use private D-Bus connections to fix issue with NameLost

Mikel Astiz mikel.astiz.oss at gmail.com
Tue Jan 29 01:33:35 PST 2013


From: Mikel Astiz <mikel.astiz at bmw-carit.de>

Patch 2/2 is solving an issue affecting Bluetooth (and probably other users) since commit 6be6766b58b3fa668a95563ac72ebe9970643cad.

The proposed approach uses private D-Bus connections and therefore patch 1/1 is needed, not to break the behavior of the "busy" flag.

v1 avoids global variables in reserve-monitor as suggested by Tanu. This is possible under some assumptions, but it makes the logic in reserve-wrap a bit tricky since any possible ordering should be supported for the instantiation and release of a pa_reserve_wrapper and it's corresponding pa_reserve_monitor_wrapper.

Mikel Astiz (2):
  reserve: Add support for private D-Bus connections
  reserve: Fix leaking NameLost signals after release+acquire

 src/modules/reserve-monitor.c | 29 +++++++++++++++++---
 src/modules/reserve-monitor.h |  7 +++++
 src/modules/reserve-wrap.c    | 64 +++++++++++++++++++++++++++++++++++++++----
 3 files changed, 91 insertions(+), 9 deletions(-)

-- 
1.7.11.7



More information about the pulseaudio-discuss mailing list