>
> Frank Klemm wrote:
> >
> > Is there any possibility to
> > * feed lame with 24 (or may be 32 bit) PCM data?
>
> There are two options for file input in the Makefile. On of them,
> libsndfile, can handle 24 and 32 bit PCM WAV and AIFF files. You'll
> need the libsndfile library which can be obtained here:
>
> http://www.zip.com.au/~erikd/libsndfile/
>
> Unfortunately, I'm not sure how LAME uses libsndfile. If it just
> uses sf_read_short() to read short samples, there will probably
> be scaling issues (24/32bit -> 16 bit) which may not be easy
> to resolve.
>
> Hope this helps,
> Erik
> --
Unfortunetly, the internal represenation inside LAME is 16bit,
so we are using sf_read_short :-(
It is on my TODO list to convert the internal representation
to floating point, so then we can handle any type of input
(and the resampling code wont have to convert back and
forth).
The API is frozen, and takes input as short int, but these should
be converted to wrappers around similar functions which take
floating point data as input. And it would be nice to also
add an interface to mpglib which outputs floating point.
If anyone is interested, let me know and I can give an overview
of what needs to be done.
Erik: what's the status of stdin support in libsndfile?
Mark
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )