]> code.delx.au - pulseaudio/commit
bluetooth: Fix unacquired transports during sink resume
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Wed, 28 Nov 2012 18:20:58 +0000 (19:20 +0100)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 5 Dec 2012 03:41:27 +0000 (09:11 +0530)
commit5a791f8a1600ae275351866a330edd60f7783ee0
treefa7eb69abbcf74fab9fe380cd1b5b401fd13a611
parentbbb47c67bb4434d752f2225d7f1744721c6e6054
bluetooth: Fix unacquired transports during sink resume

The sink can be resumed while the source is still in PA_SOURCE_INIT.
This is the case if a module such as module-stream-restore routes the
audio to the sink during pa_sink_put(), leading to an inconsistent
state: the sink stays RUNNING but the transport is not actually
acquired.
src/modules/bluetooth/module-bluetooth-device.c