En réponse à Michael Fink michael.fink@asamnet.de:
On Wed, 30 May 2001 15:23:47 +0200 (MEST), steve.lhomme@free.fr wrote:
Hi Steve,
Hi everyone,
I'd like to use MAD as a library (a DLL would be better) to read from
MP3
buffers. The idea is to create a Windows codec (coding-decoding) with a complete
free
software solution.
I'm currently working on having lame (as a DLL, since my project has
the BSD
license and not GPL) to do the encoding part, and I'd like to use MAD
to do the
decoding.
Is that possible ? Any way of building a DLL without using cygwin (because I'm don't want
to be
obliged to use Cygwin on the user PC) ?
with what compiler do you usually work? don't even try MSVC, because Rob has used some gnu extensions (in libmad/huffman.c) that doesn't work in Visual C.
Bingo ! I use MSVC++ 5 and 6. Sometimes Borland C++ 5.5 (the free one) and sometimes MinGW.
I recently got to compile libmad using mingw, and after minor modifications (interested in them, Rob?) the linker produced a DLL and a linker .lib; my only problem is now that the .lib file seems to not being compatible to MSVC (which my main program is written in), and calls to libmad functions crash.
Well if it could work with MinGW that would already help me a lot !
You could tell me when you got that thing to work under win32 :-)
Mine ? Sure ! But I guess it's going to take a while. First I'll make a sync codec with CBR, then I'll try ABR with an async codec and finally if everything is fine a VBR one.