What kind of API do you have in mind? There is some code in Lame that can
read from several kinds of input files and delivers a buffer full of samples
(actually, a left buffer and a right buffer). Would you like that, some kind
of pull interface? You open the stream and then pull frames out of it as
long as there are more - that would mean I just have to write a small
wrapper around the original APIs and export it from the DLL. I am thinking
of lameOpen, lameRead and lameClose with some options or even some
intelligence that deduces the type of file automagically.
More involved would be the ability to have a push interface, where you
deliver some part of the stream (MP3, raw, .wav, whatever) when you feel
like it, the encoder engine encodes as much data as possible and returns to
you, waiting for you to deliver more data.
Harald
----- Original Message -----
From: "Helmut Strickner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 03, 2000 3:33 AM
Subject: Re: [MP3 ENCODER] Decoding with lame?
The question was regarding the decoding with the dll verion of lame.
As Harald Niesche has observed there is no code for decoding in the dll
version.
It would really be very useful to implement the decode option into the dll.
Anyone willing to have a go?
Helmut
> :: I have read some postings on this list about the possibility to use
lame for
> :: decoding. Is it possible, and if true does that apply to the exe
version
> :: only?. I have not found any clue about setting the lame dll for
'decoding of
> :: an mp3 file' option. I would like to encode and play back without
resorting
> :: to winamp.
> ::
> lame --decode Source.mp3 Destination.wav
> lame --decode Source.mp3 - | Program_to_read_wavs_from_stdin ...
>
> --
> Mit freundlichen Gr��en
> Frank Klemm
>
> eMail | [EMAIL PROTECTED] home: [EMAIL PROTECTED]
> phone | +49 (3641) 64-2721 home: +49 (3641) 390545
> sMail | R.-Breitscheid-Str. 43, 07747 Jena, Germany
>
> --
> MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )