From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 23 18:01:37 2007 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2615316A41F for ; Mon, 23 Jul 2007 18:01:37 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outD.internet-mail-service.net (outD.internet-mail-service.net [216.240.47.227]) by mx1.freebsd.org (Postfix) with ESMTP id 0EA4613C45B for ; Mon, 23 Jul 2007 18:01:37 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Mon, 23 Jul 2007 10:59:06 -0700 Received: from julian-mac.elischer.org (nat.ironport.com [63.251.108.100]) by idiom.com (Postfix) with ESMTP id B05B4125AED; Mon, 23 Jul 2007 10:59:05 -0700 (PDT) Message-ID: <46A4EC84.1090703@elischer.org> Date: Mon, 23 Jul 2007 10:59:32 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: Diane Bruce 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> In-Reply-To: <20070723173732.GA78740@night.db.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, Alexander@Leidinger.net, Ariff Abdullah Subject: Re: FreeBSD's sound system lineage.... X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2007 18:01:37 -0000 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 wrote: >>> Alexander Leidinger wrote: >>>> Quoting Julian Elischer (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