]> code.delx.au - pulseaudio/commit
bluetooth: Set profile even if transport not acquired
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 31 Aug 2012 10:51:04 +0000 (12:51 +0200)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 26 Sep 2012 11:27:14 +0000 (19:27 +0800)
commit884d1d46ca5b563cae319003a2b3d0196dff05d1
tree3a06b3745440e5f4d1aa3587cc2f512439cee024
parentdcc11dcbe912aae5da101b28e0153dde05ea71e6
bluetooth: Set profile even if transport not acquired

If the acquisition of the transport fails, the profile should still be
set. In this case the audio is not actually streaming, so the sink and
source will be created but left suspended.

If the transport needs to be acquired later, for example because the
user wants to route the audio the remote device, the suspend flag should
have to be changed.
src/modules/bluetooth/bluetooth-util.c
src/modules/bluetooth/module-bluetooth-device.c