[pulseaudio-discuss] [PATCH v2 2/5] bluetooth: Consider different input and output MTU

Tanu Kaskinen tanuk at iki.fi
Fri Jul 27 08:03:27 PDT 2012


On Fri, 2012-07-27 at 16:41 +0200, Mikel Astiz wrote:
> @@ -809,7 +817,7 @@ static int a2dp_process_push(struct userdata *u) {
>      pa_assert(u->source);
>      pa_assert(u->read_smoother);
>  
> -    memchunk.memblock = pa_memblock_new(u->core->mempool, u->block_size);
> +    memchunk.memblock = pa_memblock_new(u->core->mempool, u->read_block_size);
>      memchunk.index = memchunk.length = 0;
>  
>      for (;;) {

Related to a2dp_process_push() but not this chunk:

Now you dropped the return value change from a2dp_process_push() too,
although it should only have been dropped from a2dp_process_render().
That's trivial enough for me to fix it myself, so no need to resend the
patches.

I'll push this one and the first patch soon (I haven't yet checked the
rest yet).

-- 
Tanu



More information about the pulseaudio-discuss mailing list