From owner-freebsd-wireless@freebsd.org Mon Nov 16 08:38:49 2015 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7E5FA302BE for ; Mon, 16 Nov 2015 08:38:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D127312C1 for ; Mon, 16 Nov 2015 08:38:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tAG8cnbb087502 for ; Mon, 16 Nov 2015 08:38:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 203745] A2DP Support for Bluetooth Headphone Audio Date: Mon, 16 Nov 2015 08:38:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2015 08:38:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #23 from Hans Petter Selasky --- Forwarding message from Nathanial Sloss: > AFAICT the only reason as to why auto config would fail would be if the max > bitpool value that is calculated is smaller than the minimum bit pool value. > > This is possibile on some headphones/speakers bta2dpd has the -B switch so the > user can set the max bitpool value. Is there hci dump on freebsd as seeing > the output of getConfiguration will confirm this. Otherwize increasing > DEFAULT_MAXBITPOOL from 80 to say 160 in sbc_encode.h might work for his > headphones but I am at a loss as to whether this will effect others. The > problem stems from the fact that different manufacturers specify different > encoding ranges and I've made it use the highest possible value as this will > give the best quality but in some cases the headphones will report a bitpool > range of 2-253 but if you encode the audio at 253 you wont get any playback > and most android/linux will just use 36 and this wont work with some > headphones or sound bad. Tony: Could you try to change the definition of DEFAULT_MAXBITPOOL? --HPS -- You are receiving this mail because: You are the assignee for the bug.