From: Larry on
Hi,

I would like to use lame to encode from a wave file to an mp3...is there
anyway to do that by using c++ win32 apis? Do I have to get the lame source
code and compile it with VC++?? can it actually be done??

thanks

From: Larry on

"Larry" <dontmewithme(a)got.it> ha scritto nel messaggio
news:4b2abd74$0$818$4fafbaef(a)reader5.news.tin.it...
> Hi,
>
> I would like to use lame to encode from a wave file to an mp3...is there
> anyway to do that by using c++ win32 apis? Do I have to get the lame
> source code and compile it with VC++?? can it actually be done??

"lame_enc.dll"
The zipped archive of the Windows distribution contains a README that refers
to an API file for info about the lame_enc.dll, but there is no API file in
the archive. A quick search on Google found the Linux API many times, but no
Windows.

Where can I get API info??

Thanks

From: Alain on
"Larry" <dontmewithme(a)got.it> a �crit dans le message de news:
4b2abd74$0$818$4fafbaef(a)reader5.news.tin.it...
> Hi,
>
> I would like to use lame to encode from a wave file to an mp3...is there
> anyway to do that by using c++ win32 apis? Do I have to get the lame
> source code and compile it with VC++?? can it actually be done??

For Audio conversions, there are ACM apis, like acmStreamConvert().


From: Richard Russell on
On Dec 17, 11:38 pm, "Larry" <dontmewit...(a)got.it> wrote:
> A quick search on Google found the Linux API many times, but no
> Windows. Where can I get API info??

AFAIK the Linux and Windows APIs are the same (or nearly so). I've
successfully used lame_enc.dll to convert a WAV file to MP3 in
Windows, using the following functions which are exported from that
DLL:

lame_init
lame_set_in_samplerate
lame_set_num_channels
lame_init_params
lame_encode_buffer_interleaved
lame_encode_flush
lame_close

The information here is substantially relevant to lame_enc.dll (except
sections 1 and 2):

http://www.linuks.mine.nu/gnustep/debs.src/lame-3.98.1/API

Richard.
http://www.rtrussell.co.uk/
To reply by email change 'news' to my forename.