]> code.delx.au - pulseaudio/commit
bluetooth: Call setup_stream() manually
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 14 Dec 2012 14:14:39 +0000 (15:14 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 19 Dec 2012 10:31:49 +0000 (12:31 +0200)
commit04d60ae2a01836366b9058b9a39f1ea3b85cf5e3
treeb1141ce1b2cbd08793020daaa348c886f9dc9d22
parent0fc6aa5034da26dcf05795a9caac98d043664f68
bluetooth: Call setup_stream() manually

Do not call setup_stream() automatically inside bt_transport_acquire().
Instead, the caller is responsible to use both functions as necessary.

As a first trivial step, setup_stream() is now called manually after
all calls to bt_transport_acquire(u, TRUE), with the exception of
setup_transport() where the thread is still about to start and thus
setup_stream() will be called later on from thread_func().
src/modules/bluetooth/module-bluetooth-device.c