[Bug 424215] Re: Bluetooth mouse usage makes A2DP audio stutter

Andrei Emeltchenko 424215 at bugs.launchpad.net
Wed Dec 8 12:59:59 GMT 2010


Can somebody check that changing bitpool in bluetooth daemon helps? Like
(NOTE: dirty hack):

bluez repository:
git://git.kernel.org/pub/scm/bluetooth/bluez.git


diff --git a/audio/unix.c b/audio/unix.c
index 62eee31..e1a1c5a 100644
--- a/audio/unix.c
+++ b/audio/unix.c
@@ -557,7 +557,7 @@ static int a2dp_append_codec(struct bt_get_capabilities_rsp *
                sbc->subbands = sbc_cap->subbands;
                sbc->block_length = sbc_cap->block_length;
                sbc->min_bitpool = sbc_cap->min_bitpool;
-               sbc->max_bitpool = sbc_cap->max_bitpool;
+               sbc->max_bitpool = sbc_cap->max_bitpool - 20;
 
                print_sbc(sbc_cap);
        } else if (codec_cap->media_codec_type == A2DP_CODEC_MPEG12) {

-- 
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in ubuntu.
https://bugs.launchpad.net/bugs/424215

Title:
  Bluetooth mouse usage makes A2DP audio stutter



More information about the Ubuntu-bluetooth mailing list