A2DP on FreeBSD, part N

Hans Petter Selasky hps at selasky.org
Fri Oct 9 09:55:34 UTC 2015


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 <che at bein.link> 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.
>>
>
> Maybe Hans-Petter (CC'ed) is also interested, as he authored or ported
> or uaudio driver.
>

Hi,

I recommend using libcuse for this. I.E. make a daemon in userspace 
which handle everything. See:

svn --username anonsvn --password anonsvn \
       checkout svn://svn.turbocat.net/i4b

Search for "virtual_oss*"

--HPS


More information about the freebsd-bluetooth mailing list