[pulseaudio-discuss] [PATCH] bluetooth-device: Add safe guard against BT streaming irregularities.

Marc-André Lureau marcandre.lureau at gmail.com
Thu May 7 15:02:32 PDT 2009


Hi

On Thu, May 7, 2009 at 7:54 PM, Jyri Sarha <jyri.sarha at nokia.com> wrote:
>  #ifdef NOKIA
>     if (USE_SCO_OVER_PCM(u)) {
> -        if (start_stream_fd(u) < 0)
> +        if (start_stream_fd(u) < 0) {
> +            u->sink = NULL;
> +            u->source = NULL;
>             return -1;
> +        }

This was part of a different commit from me, but is in fact a minor
fix on error condition.

Note: I didn't review the patch. I guess a signed-off policy would be
good when we send patches in the future.

regards,

-- 
Marc-André Lureau



More information about the pulseaudio-discuss mailing list