Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

using lame encoder

40 views
Skip to first unread message

Larry

unread,
Dec 17, 2009, 6:23:32 PM12/17/09
to
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

Larry

unread,
Dec 17, 2009, 6:38:14 PM12/17/09
to

"Larry" <dontme...@got.it> ha scritto nel messaggio
news:4b2abd74$0$818$4faf...@reader5.news.tin.it...

"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

Alain

unread,
Dec 21, 2009, 2:48:31 PM12/21/09
to
"Larry" <dontme...@got.it> a �crit dans le message de news:
4b2abd74$0$818$4faf...@reader5.news.tin.it...

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


Richard Russell

unread,
Dec 21, 2009, 6:14:35 PM12/21/09
to
On Dec 17, 11:38 pm, "Larry" <dontmewit...@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.

0 new messages