From owner-freebsd-bluetooth@freebsd.org Wed Oct 14 12:40:17 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 3BE25A11842 for ; Wed, 14 Oct 2015 12:40:17 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.0x20.net", Issuer "mail.0x20.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C1FD9A1D for ; Wed, 14 Oct 2015 12:40:16 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id A25CF6DF91B; Wed, 14 Oct 2015 14:40:13 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id t9ECeDD8014888; Wed, 14 Oct 2015 14:40:13 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id t9ECeCRt013902; Wed, 14 Oct 2015 14:40:12 +0200 (CEST) (envelope-from lars) Date: Wed, 14 Oct 2015 14:40:11 +0200 From: Lars Engels To: Hans Petter Selasky Cc: Iain Hibbert , Maksim Yevmenkin , Maxim V FIlimonov , "freebsd-bluetooth@freebsd.org" Subject: Re: A2DP on FreeBSD, part N Message-ID: <20151014124011.GK43663@e-new.0x20.net> References: <2669086.KH7QR9g2Oe@thinkpad> <20151009092116.GA43663@e-new.0x20.net> <56178F78.3030703@selasky.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CoKeqzoheR24UlpS" Content-Disposition: inline In-Reply-To: <56178F78.3030703@selasky.org> X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) 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: Wed, 14 Oct 2015 12:40:17 -0000 --CoKeqzoheR24UlpS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 09, 2015 at 11:57:12AM +0200, Hans Petter Selasky wrote: > On 10/09/15 11:21, Lars Engels wrote: > > On Fri, Oct 09, 2015 at 10:15:39AM +0100, Iain Hibbert wrote: > >> On Thu, 8 Oct 2015, Maksim Yevmenkin wrote: > >> > >>> On Wed, Oct 7, 2015 at 12:33 PM, Maxim V Filimonov wr= ote: > >>>> Hi everyone, > >>>> > >>>> I found this link: https://mail-index.netbsd.org/netbsd-users/2015/0= 9/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 i= f it will > >>>> actually work with FreeBSD? I didn't manage to compile that, and I d= on't have > >>>> the skills to make it work, unfortunately. Is it even portable to Fr= eeBSD? > >>> > >>> 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 back= end > >> 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. > >> > > > > Maybe Hans-Petter (CC'ed) is also interested, as he authored or ported > > or uaudio driver. > > >=20 > Hi, >=20 > I recommend using libcuse for this. I.E. make a daemon in userspace=20 > which handle everything. See: >=20 > svn --username anonsvn --password anonsvn \ > checkout svn://svn.turbocat.net/i4b >=20 > Search for "virtual_oss*" >=20 > --HPS There's a new PR for A2DP: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203745 --CoKeqzoheR24UlpS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJWHk0rXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tHHMH/0pLDQhpsbszbNB5pUGTvA5c 92R8qyXQW5w2sihxg8jxopg3+vCvFlxM+4+z0UnP2e24dbFMWQv38KnWrXhbKLXJ 36dTGZ1T1XF9owHXv6Z/ZPierIsWdHu/5Heemn0CN5ruDl8HuCbn2D+iB1rLsjxW 0pvu/W4iT7tmBi5e6KYS9S1yZFl+lQzfRmZNArs71CHIYfEXPLeiEzwbUn2Cj8fw TCDq3HRP14x3E7II6vhzhZXxNYUBVsqO0xpgj59dMZvl1R9AaNI8lXkxgIrQ3pin cG6hnn98J73Qh26eI4xCxGznykZEbBRrM/WFogiGxF+2/sKcF5p6aykhFUy0F7k= =p7RQ -----END PGP SIGNATURE----- --CoKeqzoheR24UlpS--