From alsa-devel-owner@alsa.jcu.cz  Tue Jan 19 11:56:58 1999
Received: from entry.jcu.cz (IDENT:perex@entry.jcu.cz [160.217.1.111])
	by marvin.jcu.cz (8.9.1a/8.9.1) with SMTP id LAA03358;
	Tue, 19 Jan 1999 11:56:13 +0100
Date: Tue, 19 Jan 1999 11:56:13 +0100 (CET)
From: Jaroslav Kysela <perex@jcu.cz>
To: Jimen Ching <jching@flex.com>
cc: alsa-devel@alsa.jcu.cz, cbagwell@sprynet.com
Subject: Re: alsa-lib
In-Reply-To: <Pine.BSI.4.02A.9901182325230.15776-100000@flex.com>
Message-ID: <Pine.LNX.3.96.990119115220.25743S-100000@entry.jcu.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Mon, 18 Jan 1999, Jimen Ching wrote:

> Hi all,
> 
> I've just finished reading the alsa-lib documentation.  I see that the
> library has support for a few sound file formats.  I am in the process of
> adding alsa support into sox, and noticed that sox has its own library.
> Sox's library supports a lot more file formats and quite a few sound
> functions, i.e. echo, vibro, etc.  I'm wondering if it would be a good
> idea to merge the library somehow.  It seems to be a duplication of effort
> if we end up with two libraries that does the same thing.
> 
> Note, the library I'm talking about is just the file format and sound
> effect support.  alsa-lib and sox would end up being front-ends or
> wrappers around this lower-level library.  The benefit of this is that, we
> have a library API which is cross-platform, and alsa-lib would gain all of
> the file formats already in the sox library.
> 
> What do people think about this?

I think that better way than should be design some universal PCM plug-in
interface for effects and maybe for verious file formats. Effects should
be placed to separate modules to some good place like 

	/usr/libexec/alsa/pcm-effect/reverb.so
	/usr/libexec/alsa/pcm-format/wave.so

etc..

							Jaroslav

-----
Jaroslav Kysela <perex@jcu.cz>
Academic Computer Centre, University of South Bohemia
Branisovska 31, C. Budejovice, CZ-370 05 Czech Republic


