Re: [pulseaudio-discuss] [PATCH v0 1/2] bluetooth: Do not setup stream before thread starts

2012-12-02 Thread Tanu Kaskinen
On Sun, 2012-12-02 at 10:02 +0100, Mikel Astiz wrote: > Hi Tanu, > > On Sun, Dec 2, 2012 at 12:45 AM, Tanu Kaskinen wrote: > > On Thu, 2012-11-29 at 14:28 +0100, Mikel Astiz wrote: > >> From: Mikel Astiz > >> > >> bt_transport_acquire() might get called from the main thread, in case > >> the IO

Re: [pulseaudio-discuss] [PATCH v0 1/2] bluetooth: Do not setup stream before thread starts

2012-12-02 Thread Mikel Astiz
Hi Tanu, On Sun, Dec 2, 2012 at 12:45 AM, Tanu Kaskinen wrote: > On Thu, 2012-11-29 at 14:28 +0100, Mikel Astiz wrote: >> From: Mikel Astiz >> >> bt_transport_acquire() might get called from the main thread, in case >> the IO thread hasn't been started yet. In this case, we should not call >> se

Re: [pulseaudio-discuss] [PATCH v0 1/2] bluetooth: Do not setup stream before thread starts

2012-12-01 Thread Tanu Kaskinen
On Thu, 2012-11-29 at 14:28 +0100, Mikel Astiz wrote: > From: Mikel Astiz > > bt_transport_acquire() might get called from the main thread, in case > the IO thread hasn't been started yet. In this case, we should not call > setup_stream() since this is going to be called in the beginning of > thr

[pulseaudio-discuss] [PATCH v0 1/2] bluetooth: Do not setup stream before thread starts

2012-11-29 Thread Mikel Astiz
From: Mikel Astiz bt_transport_acquire() might get called from the main thread, in case the IO thread hasn't been started yet. In this case, we should not call setup_stream() since this is going to be called in the beginning of thread_func(). --- src/modules/bluetooth/module-bluetooth-device.c |