[pulseaudio-discuss] Problems trying to connecf HFP device
Franz Glauber
franzec05 at gmail.com
Tue Mar 1 12:30:10 PST 2011
On Tue, Mar 1, 2011 at 4:49 PM, Tanu Kaskinen <tanuk at iki.fi> wrote:
> On Tue, 2011-03-01 at 18:01 +0000, Colin Guthrie wrote:
>> >> I'm not sure why there would be such a big pause at the connection
>> >> stage. Does the big pause only happen when the BT device is connected?
>> >> e.g. if it's not connected, the connection is quick?
>> >
>> > Yep, only when the device is connected. Otherwise it's pretty quick.
>>
>> Very odd. I'm not sure why such a thing would affect the connection phase.
>>
>> I'll have to defer to cleverer people than I.... any ideas clever people?
>
> This sounds a lot like a bug that I've heard to exist in
> module-bluetooth-device. The module does something in the main thread
> that in some situations can block for a long time. The connection
> handling should be moved to a separate thread (or perhaps to the IO
> thread).
Now that you mention it, makes sense, as I got it half-working once,
and I don't know how and I couldn't reproduce anymore. Seems to be a
threading issue somehow.
--
Franz
http://ciudaddelpico.com
More information about the pulseaudio-discuss
mailing list