|
From: Lennart P. <poe...@us...> - 2002-05-15 16:36:35
|
On Wed, 15.05.02 12:59, Sam Clegg (sa...@su...) wrote:
> On Tue, May 14, 2002 at 03:31:02PM +0200, Lennart Poettering wrote:
> > The question is where to draw the line between those audio formats
> > which are natively supported by asd and those which are not. For
> > simplicity I vote for supporting all those sample types where each
> > sample is independant from all surrounding samples. This means that
> > we'd support all integer, floating point and ulaw/alaw formats. But
> > no ADPCM or MPEG formats.=20
> >=20
> > <snip>
> > typedef enum { LS_SIGNED, LS_UNSIGNED, LS_FLOAT, LS_ALAW, LS_ULAW } ls_=
encoding_type_t;
>=20
> I agree that we should not support complex encodings such as mpeg/ogg.
> There are plenty of libraries out there for turning there in PCM.
>=20
> In fact, perhaps we should rename the library to 'libpcm'.
This is a good idea.=20
What is the exact definition of "pulse code modulation"? Do uLaw and
aLaw fall under this notion? If this is not the case, libpcm might not
be the ideal name.
> There are problems with calling our library 'sample'. We end up with
> things like sample.1 or sample.pc that look like example files :)
> Including "sample.h" is rather ambiguous. Also, I think pcm_resample
> and pcm_mix sound better than ls_resample, and 'pcm_type_t' better than
> 'ls_sound_type_t'. Of course this is all really cosmetic and I am just
> being pedantic ;)
But I agree, it makes sense somehow.=20
However, the project at sf.net is already called libsample. Is it
possible to rename a project at sf.net? maybe by mailing the sf.net
staff?
lp
--=20
name { Lennart Poettering } mail { poe...@us... }
icq { 11060553 } loc { hamburg, germany } pgp { 0x1A015CC4 }
sourceforge.net { asd, battstat, befound, libsample, libshbuf, ivam }
|