From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 23 17:57:25 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 6BCEE16A41F; Mon, 23 Jul 2007 17:57:25 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net (diana.db.net [204.228.229.66]) by mx1.freebsd.org (Postfix) with ESMTP id 5740513C459; Mon, 23 Jul 2007 17:57:25 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net ([204.228.229.66] helo=localhost ident=mailnull) by diana.db.net with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1ID1qf-0009XL-5c; Mon, 23 Jul 2007 11:37:33 -0600 Received: from diana.db.net ([127.0.0.1] helo=localhost) (envelope-from ) id 1ID1qe-000KVQ-3x; Mon, 23 Jul 2007 13:37:32 -0400 Date: Mon, 23 Jul 2007 13:37:32 -0400 From: Diane Bruce To: Ariff Abdullah Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070724004448.2c49a5e3.ariff@FreeBSD.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-multimedia@freebsd.org, Alexander@Leidinger.net, Julian Elischer 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 17:57:25 -0000 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? - Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db