Date: Mon, 23 Jul 2007 10:59:32 -0700 From: Julian Elischer <julian@elischer.org> To: Diane Bruce <db@db.net> Cc: freebsd-multimedia@freebsd.org, Alexander@Leidinger.net, Ariff Abdullah <ariff@FreeBSD.org> Subject: Re: FreeBSD's sound system lineage.... Message-ID: <46A4EC84.1090703@elischer.org> In-Reply-To: <20070723173732.GA78740@night.db.net> References: <20070722231730.717d5472@localhost> <20070723110009.w7szemgpsg80k804@webmail.leidinger.net> <46A4BA24.2070806@elischer.org> <20070723181011.383dcc1a@deskjail> <46A4D713.3020408@elischer.org> <20070724004448.2c49a5e3.ariff@FreeBSD.org> <20070723173732.GA78740@night.db.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Diane Bruce wrote: > On Tue, Jul 24, 2007 at 12:44:48AM +0800, Ariff Abdullah wrote: >> On Mon, 23 Jul 2007 09:28:03 -0700 >> Julian Elischer <julian@elischer.org> wrote: >>> Alexander Leidinger wrote: >>>> Quoting Julian Elischer <julian@elischer.org> (Mon, 23 Jul 2007 >>>> 07:24:36 -0700): > ... >>>>> The OSS people have offered us the use (from memory) of their >>>> ALSA<->OSS > shim library. It would be nice if one of the sound >>>> people > would talk to them and see if the offer still stands. > > I looked at that months ago. > >>>> It needs kernel support which we don't have. I don't know how >>>> hard/easy it is to provide this support. > > As far as I could see, a simple kqueue shim would handle the event side. > >>> That's where we probably need someone like Ariff to have a look at >>> it. >>> >>> I think they also offered to help us get that support. >>> >> ALSA is purely userland stuffs, much like other things like SDL, > > Yes. I agree, I believe kqueue would help us here. > >> pulseaudio, arts, jack, yada yada, so on. All you need to do is grab >> plain alsa library, replacing alsa kernel call -> oss ioctl (much >> like NetBSD/OpenBSD did with their sunaudio -> liboss), and produce >> appropriate libalsa depending on your target (linux binary for linux > > I've got a partial shim already started. My major problem was the docs > for ALSA are terrible, at least the ones I saw. I don't like > trying to navigate a wiki for docs. > >> apps). Leveraging hardware features provided by ALSA call is a >> different story, though. > > About all I could see ALSA did was it adds the equivalent of our vchans > and an event driven interface. All very overly complex with bells and whistles. > > I've started digging through my ALSA code shim. I think I could use help. > I wanted to be GPL clean, I think I am so far. ;-) > > Any volunteers? well I think the OSS Alsa library they offered us woudl be a good start as it apparently already mostly works.. > > - Diane > -- > - db@FreeBSD.org db@db.net http://www.db.net/~db
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46A4EC84.1090703>