Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2015 11:57:12 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Lars Engels <lars.engels@0x20.net>, Iain Hibbert <plunky@ogmig.net>
Cc:        Maksim Yevmenkin <maksim.yevmenkin@gmail.com>, Maxim V FIlimonov <che@bein.link>, "freebsd-bluetooth@freebsd.org" <freebsd-bluetooth@freebsd.org>
Subject:   Re: A2DP on FreeBSD, part N
Message-ID:  <56178F78.3030703@selasky.org>
In-Reply-To: <20151009092116.GA43663@e-new.0x20.net>
References:  <2669086.KH7QR9g2Oe@thinkpad> <CAFPOs6rsVT7TpiKHmR8%2Bb=APOyj%2BjzJqrS%2B3F9hyYNOWG4KqhQ@mail.gmail.com> <alpine.NEB.2.11.1510091007120.14813@galant.ogmig.net> <20151009092116.GA43663@e-new.0x20.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56178F78.3030703>