[mad-dev] Configuration problem?

Chris & Amanda Dellario dellario@attbi.com
Fri, 22 Nov 2002 10:01:17 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C2920E.1988FA40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I've discovered madlld and begun using it to try and learn libmad's
low-level api, but I'm having some problems.  When I run madlld, most of the
frames fail with recoverable errors, and the total output is very small.
For example, an mp3 that is 4937K in size is resulting in a decoded version
that is only 221K, with only 49 frames decoded.  Almost all of the other
frames fail with the recoverable error of "Huffman data overrun."

I'm guessing that my MAD configuration is to blame, but I'm new to using MAD
and I'm not sure where it has gone wrong (I've looked in configure.in and at
my config.log but I'm not seeing the issue).  I'm running in MSVC 6 on a
Windows 2000 machine, so I've set the following preprocessor definitions:
FPM_DEFAULT,HAVE_CONFIG_H,ASO_ZEROCHECK,WIN32,_DEBUG,_WINDOWS,_MBCS.  Also,
I'm using the config.h and mad.h from the msvc++/libmad directory.  Has
anybody else had this problem?  Does anybody have a config.h and mad.h that
work well on Win32 that I could share?

Many thanks,
Chris Dellario

------=_NextPart_000_000F_01C2920E.1988FA40
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4916.2300" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D510015214-22112002><FONT face=3DArial size=3D2>I've =
discovered=20
madlld and begun using it to try and learn libmad's low-level api, but =
I'm=20
having some problems.&nbsp; When I run madlld, most of the frames fail =
with=20
recoverable errors, and the total output is very small.&nbsp; For =
example, an=20
mp3 that is 4937K in size is resulting in a decoded version that is only =
221K,=20
with only 49 frames decoded.&nbsp; Almost all of the other frames fail=20
with&nbsp;the recoverable&nbsp;error of "Huffman data overrun."&nbsp;=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D510015214-22112002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D510015214-22112002><FONT face=3DArial size=3D2>I'm =
guessing that my=20
MAD configuration is to blame, but I'm new to using MAD and I'm not sure =
where=20
it has gone wrong (I've looked in configure.in and at my config.log but =
I'm not=20
seeing the issue).&nbsp; I'm running in MSVC 6 on a Windows 2000 =
machine, so=20
I've set the following preprocessor definitions:&nbsp;=20
FPM_DEFAULT,HAVE_CONFIG_H,ASO_ZEROCHECK,WIN32,_DEBUG,_WINDOWS,_MBCS.&nbsp=
; Also,=20
I'm using the config.h and mad.h from the msvc++/libmad directory.&nbsp; =
Has=20
anybody else had this problem?&nbsp; Does anybody have a config.h and =
mad.h that=20
work well on Win32 that I could share?</FONT></SPAN></DIV>
<DIV><SPAN class=3D510015214-22112002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D510015214-22112002><FONT face=3DArial size=3D2>Many=20
thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D510015214-22112002><FONT face=3DArial size=3D2>Chris=20
Dellario</FONT></SPAN></DIV></BODY></HTML>

------=_NextPart_000_000F_01C2920E.1988FA40--