|
From: Sam C. <sa...@su...> - 2002-05-15 12:58:25
|
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_en=
coding_type_t;
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.
In fact, perhaps we should rename the library to 'libpcm'.
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 ;)
samo
--=20
sam clegg
:: sa...@su...
:: http://superduper.net/=20
:: PGP :: D91EE369
$superduper: .signature,v 1.4 2002/04/27 11:54:02 samc Exp $
|