This is a patch to rewrite a2dp_write to avoid memory copies. It
does this by only using the temporary buffer if we are dealing with
partial buffers. I see a little bit of a speedup with my embedded
device, however sbc encoding usually takes the most time.
Keith Preston