Re: [pulseaudio-discuss] [PATCH v11 01/11] bluetooth: Fix A2DP codec API to provide information about data buffer

2019-06-18 Thread Tanu Kaskinen
On Mon, 2019-06-17 at 12:05 +0200, Pali Rohár wrote: > On Saturday 15 June 2019 11:50:10 Tanu Kaskinen wrote: > > Although I made that mistake, I think I'm right in saying that our > > reading logic is broken at least with SBC. The sender can change the > > frame size without warning, so we shouldn

[pulseaudio-discuss] [PATCH v2] bluetooth: Fix crash in setup_stream()

2019-06-18 Thread Frédéric Danis
setup_stream() crashes when calling set_nonblock() with an invalid stream_fd. On a new call, the ofono backend gets notified of a new connection. The ofono backend sets the transport state to playing, and that triggers a profile change, which sets up the stream for the first time. Then module-blue