Re: [pulseaudio-discuss] [PATCH v12 02/13] bluetooth: Change A2DP codec API of reset() method to indicate failure

2019-07-18 Thread Tanu Kaskinen
On Fri, 2019-07-05 at 15:02 +0200, Pali Rohár wrote: > /* Run from I/O thread */ > -static void setup_stream(struct userdata *u) { > +static bool setup_stream(struct userdata *u) { > struct pollfd *pollfd; > int one; > > /* return if stream is already set up */ > if

Re: [pulseaudio-discuss] [PATCH v12 02/13] bluetooth: Change A2DP codec API of reset() method to indicate failure

2019-07-17 Thread Tanu Kaskinen
On Fri, 2019-07-05 at 15:02 +0200, Pali Rohár wrote: > SBC codec reset() method may fail, so propagate this failure to caller. > --- > src/modules/bluetooth/a2dp-codec-api.h | 4 ++-- > src/modules/bluetooth/a2dp-codec-sbc.c | 5 +++-- > src/modules/bluetooth/module-bluez5-device.c

[pulseaudio-discuss] [PATCH v12 02/13] bluetooth: Change A2DP codec API of reset() method to indicate failure

2019-07-05 Thread Pali Rohár
SBC codec reset() method may fail, so propagate this failure to caller. --- src/modules/bluetooth/a2dp-codec-api.h | 4 ++-- src/modules/bluetooth/a2dp-codec-sbc.c | 5 +++-- src/modules/bluetooth/module-bluez5-device.c | 18 -- 3 files changed, 17 insertions(+), 10