From owner-freebsd-bluetooth@freebsd.org Fri Oct 9 09:15:50 2015 Return-Path: Delivered-To: freebsd-bluetooth@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 464299D107F for ; Fri, 9 Oct 2015 09:15:50 +0000 (UTC) (envelope-from plunky@ogmig.net) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:c:538::198]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0884EDF7 for ; Fri, 9 Oct 2015 09:15:49 +0000 (UTC) (envelope-from plunky@ogmig.net) Received: from mfilter15-d.gandi.net (mfilter15-d.gandi.net [217.70.178.143]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id D8A144F197C; Fri, 9 Oct 2015 11:15:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter15-d.gandi.net Received: from relay6-d.mail.gandi.net ([IPv6:::ffff:217.70.183.198]) by mfilter15-d.gandi.net (mfilter15-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id f6nah8I4UKnz; Fri, 9 Oct 2015 11:15:45 +0200 (CEST) X-Originating-IP: 31.68.197.147 Received: from galant.ogmig.net (unknown [31.68.197.147]) (Authenticated sender: plunky@ogmig.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id E6FB1FB8DC; Fri, 9 Oct 2015 11:15:43 +0200 (CEST) Received: by galant.ogmig.net (Postfix, from userid 1000) id D9D6526026A; Fri, 9 Oct 2015 10:15:39 +0100 (BST) Date: Fri, 9 Oct 2015 10:15:39 +0100 (BST) From: Iain Hibbert To: Maksim Yevmenkin , Maxim V FIlimonov cc: "freebsd-bluetooth@freebsd.org" Subject: Re: A2DP on FreeBSD, part N In-Reply-To: Message-ID: References: <2669086.KH7QR9g2Oe@thinkpad> User-Agent: Alpine 2.11 (NEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 09:15:50 -0000 On Thu, 8 Oct 2015, Maksim Yevmenkin wrote: > On Wed, Oct 7, 2015 at 12:33 PM, Maxim V Filimonov wrote: > > Hi everyone, > > > > I found this link: https://mail-index.netbsd.org/netbsd-users/2015/09/14/msg016883.html > > > > As you might notice from the URL, it's about A2DP on NetBSD. I heard that A2DP > > requires mostly userland tools, so might anyone look at it and see if it will > > actually work with FreeBSD? I didn't manage to compile that, and I don't have > > the skills to make it work, unfortunately. Is it even portable to FreeBSD? > > bluetooth uers pace part should be portable (relatively straight > forward). the audio drivers part will require a bit more work, but > still doable. There is still a lot of work to do on this program in any case.. it can currently play an audio file to an A2DP receiver (I have a pair of headphones, and a standalone speaker). It does this by piping stdin (or reading from a .WAV file) into an RFCOMM connection so that should basically work on FreeBSD anyway There is no real support for audio devices at this time, but I have encouraged Nathaniel to implement a method where it could use the backend of a pad(4) device so that the system would see an audio device and you could use your normal audio player. I think this will need extensions to pad(4) in any case as that is too simple. iain