From owner-freebsd-bluetooth@FreeBSD.ORG Sun Jun 9 00:11:40 2013 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3A226613 for ; Sun, 9 Jun 2013 00:11:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qe0-f44.google.com (mail-qe0-f44.google.com [209.85.128.44]) by mx1.freebsd.org (Postfix) with ESMTP id 039041F57 for ; Sun, 9 Jun 2013 00:11:39 +0000 (UTC) Received: by mail-qe0-f44.google.com with SMTP id 5so1044012qeb.31 for ; Sat, 08 Jun 2013 17:11:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=uRqUXEkrFg6YdBKPbyyVHXlQSo/O4s7d0/mpjut/X78=; b=0ZAvy/W9ay50xaY2y8ZidU4ZH503YubnwZs7r3EMhSYid1v04nVkq+Xsoy4+HQjHNb yKg/Iq3WBIe/2zQ8/Ouu5bgUjdaBv0AQUpsaNXmh6QeZxD5tUEzTRgkrgOQImWPIk4Cn 2MBzu0qUxiDAfwllN4w53ljfBZZmh738pT2hfxNU77fXzsWf9ggEvl02MXEYfooZxFa9 F/O+zhQuIiyx9VzxqvyMZGGAjqs3AVTbO4WCGq6s6OTwrORoDwbhw4NW/c2icNddBcQO 8LR9fcPsYXNR3b0DAk3z4c8IYCz7rL0syQzPEgE7JjbB5BM+RjAhyPTkfRRF8wOh+1JJ x5Sg== MIME-Version: 1.0 X-Received: by 10.229.66.6 with SMTP id l6mr470324qci.133.1370736693665; Sat, 08 Jun 2013 17:11:33 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.5.65 with HTTP; Sat, 8 Jun 2013 17:11:33 -0700 (PDT) Date: Sat, 8 Jun 2013 17:11:33 -0700 X-Google-Sender-Auth: hdQIOIpXwB2CY627zQON0AFU13w Message-ID: Subject: What's it going to take to get basic A2DP support into -HEAD? From: Adrian Chadd To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 00:11:40 -0000 Hi all, I've bought some bluetooth audio devices and I'd like to use them with FreeBSD-HEAD. Specifically, I'd like to be able to use them _whilst_ doing active wifi traffic, so I can properly debug/diagnose all of the crazy bluetooth coexistence issues that exist. However, we don't have A2DP support as far as I can tell. So, given that these headphones pair, what would it take to write up a basic A2DP profile with the minimum-supported codec, and then route audio to it? Would it be something done in-kernel? Or would we just expose the audio to userland and do the (re) encoding there? What about supporting data sources that will happily supply a supported bitrate/encoding type? (eg, if a player wants to spit out MPEG encoded audio; why decode and re-encode it?) I'm happy to hack on code. I just don't know anything about the bluetooth stack here. :-) Thanks! Adrian