Date: Wed, 8 Oct 2008 18:20:29 +0100 (BST) From: Iain Hibbert <plunky@rya-online.net> To: Maksim Yevmenkin <maksim.yevmenkin@gmail.com> Cc: vova@fbsd.ru, freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth audio (once again) Message-ID: <1223486429.658424.1015.nullmailer@galant.ukfsn.org> In-Reply-To: <bb4a86c70810080925r7281f18eycc190fa03b8f8d18@mail.gmail.com> References: <3a386af20809261420j535680e8pf44453dbf6f84b20@mail.gmail.com> <bb4a86c70809261504v45ffe1a8oaf26670a1032e86c@mail.gmail.com> <1223034512.1842.111.camel@localhost> <bb4a86c70810030945g3d870a1eqacc85233d9698a66@mail.gmail.com> <1223106788.4832.25.camel@localhost> <bb4a86c70810070913g177edac5n14aab1b62cc61f86@mail.gmail.com> <1223478034.1864.65.camel@localhost> <bb4a86c70810080925r7281f18eycc190fa03b8f8d18@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Wed, 8 Oct 2008, Maksim Yevmenkin wrote: > 2) license issues. bluez is gnu, which could be a problem. we could > take a look at what netbsd does. Well NetBSD has no A2DP support as yet There is bthset(1) which is a small utility to talk to the command part of a Headset profile, but the audio part is handled inside the kernel by a btsco(4) audio device driver (so in effect, you can just use /dev/audio1 to play audio). However, I don't think that is very easy to port to FreeBSD because our audio(9) API is different. (Also bthset uses libevent :) Something that may be of more immediate use is a port of the hstest program from BlueZ that I made when I was writing the SCO support for NetBSD. It is attached for what its worth (GPL warning) and it should be able to copy audio data in and out. Another thing that might be of interest is the proof of concept bthfp program I wrote to talk to a Handsfree profile (source at http://homepages.rya-online.net/plunky/bthfp-0.1.tar.gz) which alas also uses libevent though I wrote a version that used select and the NetBSD audio device directly (attached) but that doesn't always work properly because our audio device framework won't properly handle errors from the devices (eg disconnects) So in summary, what NetBSD has is probably not of great use but may be of some interest :) iain [-- Attachment #2 --] H s2bI)`صdmM@PIN*h"$Fh^{' NҼW>HۯCL؎' VV{EVWOڭ~kgoMv{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