Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2007 13:37:32 -0400
From:      Diane Bruce <db@db.net>
To:        Ariff Abdullah <ariff@FreeBSD.org>
Cc:        freebsd-multimedia@freebsd.org, Alexander@Leidinger.net, Julian Elischer <julian@elischer.org>
Subject:   Re: FreeBSD's sound system lineage....
Message-ID:  <20070723173732.GA78740@night.db.net>
In-Reply-To: <20070724004448.2c49a5e3.ariff@FreeBSD.org>
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>

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

- 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?20070723173732.GA78740>