From owner-freebsd-multimedia Tue Jul 23 23: 5:33 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E97D737B400 for ; Tue, 23 Jul 2002 23:05:30 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id B441B43E4A for ; Tue, 23 Jul 2002 23:05:29 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g6O6580i055475 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 24 Jul 2002 08:05:09 +0200 (CEST) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.12.3/8.12.3/Submit) with UUCP id g6O657SQ055474; Wed, 24 Jul 2002 08:05:07 +0200 (CEST) (envelope-from andreas@klemm.gtn.com) Received: from titan.klemm.apsfilter.org (localhost.klemm.apsfilter.org [127.0.0.1]) by klemm.gtn.com (8.12.5/8.12.3) with ESMTP id g6O60BAu004154; Wed, 24 Jul 2002 08:00:16 +0200 (CEST) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost) by titan.klemm.apsfilter.org (8.12.5/8.12.5/Submit) id g6O605OR004153; Wed, 24 Jul 2002 08:00:05 +0200 (CEST) Date: Wed, 24 Jul 2002 08:00:05 +0200 From: Andreas Klemm To: Stuart Barkley Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Advanced Linux Sound Driver (ALSA) for FreeBSD ??? Message-ID: <20020724060005.GA3987@titan.klemm.apsfilter.org> References: <1027085799.12363.6.camel@johncoop.borgsdemons.com> <20020719145431.C38805-100000@precipice.4gh.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020719145431.C38805-100000@precipice.4gh.net> X-Operating-System: FreeBSD 4.6-STABLE SMP X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.1i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jul 19, 2002 at 03:49:37PM -0400, Stuart Barkley wrote: > Mostly, however, it looks like a code bloat solution to non-existent > problems. Perhaps select(2) and poll(2) are not well understood? Didn't look into it soo deeply. > I'm attempting to do a number of audio things under FreeBSD and the > OSS device driver interface looks complete enough for most things. My focus was available applications under Linux. > Audacity works well for basic recording tasks and I'm working on some > personal things (none yet available). You say it, "basic tasks". > > ALSA even comes with an OSS compatibility library, which sounds to > > me, that older programs using OSS style are still supported to work, > > which sounds good to me. > > Also, new programs which only use OSS style interface will work more > widely and not be dependent upon device driver code linked into the > application program. ALSA seems to want a soft interface between the > driver and the application, thus the recommendation to use their > library instead of standard kernel interfaces. How long will it be > until the true kernel interface changes enough that applications will > need to link with a new library version to access new kernel driver > versions. Hmm, if Alsa is mainly something like an API userland | kernel --------------------------------+---------------- application -> Alsa lib -> Alsa driver Wouldn't it be possible to make a compatibility library (libalsa) under BSD that translates ALSA function calls into OSS kernel functions ? application (linked with libalsa) | BSD pcm driver O.k., this way you couldn't run Linux binaries, but would have a chance to re-compile and run the ALSA based application. Or additionally/exclusively ... would it be possible, to create an ALSA -> OSS / pcm interface in the Linux emulator ??? -- Andreas Klemm /\/\/\/\/\/\/\/\/\/\/\ http://www.64bits.de < Powered by FreeBSD > http://www.apsfilter.org/ \ www.FreeBSD.org / http://people.FreeBSD.ORG/~andreas \/\/\/\/\/\/\/\/\/\/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message