pulseaudio/src
Mikel Astiz 67c0090556 bluetooth: Ignore Device.DisconnectRequested
Handling the signal DisconnectRequested should be unnecessary since the
profile-specific interfaces will be later disconnected, leading to
module unload.

Additionally, the signal is problematic: if an interface (i.e.
A2DP AudioSource) is playing at the time DisconnectRequested is
signaled, the following sequence can occur:

1. AudioSource is playing
2. DisconnectRequested is received
3. Module is unloaded due to DisconnectRequested
4. AudioSource state changes from playing to connected
5. module-bluetooth-discover loads the module
6. AudioSource state changes from connected to disconnected

Therefore the module is unnecessarily loaded, to be unloaded immediately
afterwards. This can easily be reproduced if a device is unpaired while
the audio is streaming.

The simplest solution to this consists of removing step 3, by just
ignoring the DisconnectRequested signal. This reverts commit
8169a6a6c9.
2012-10-14 19:16:21 +03:00
..
daemon core-util: Fix permissions handling while creating directories 2012-07-03 08:49:26 +05:30
modules bluetooth: Ignore Device.DisconnectRequested 2012-10-14 19:16:21 +03:00
pulse stream: Allow record streams to start muted 2012-09-21 15:42:37 +08:00
pulsecore sink, source: Support creating suspended sinks and sources 2012-09-26 19:27:14 +08:00
tests memblock: Add pa_memblock_acquire_chunk(). 2012-08-22 09:47:03 +03:00
utils pactl: Add set-latency-offset command. 2012-06-30 14:42:43 +03:00
.gitignore .gitignore: Add cpu-test. 2012-09-07 17:22:10 +03:00
depmod.py remove remaining $ 2008-06-18 22:38:32 +02:00
Makefile.am tests: make 'check' optional 2012-10-04 16:49:00 +03:00
map-file introspect: Add functions to handle the latency offset. 2012-06-30 14:41:08 +03:00