decoding error while using minimad.c

王斐斐 <[email protected]> Mon, 21 Apr 2008 10:16:35 +0800 (CST)
Newsgroups gmane.comp.audio.mad.user
Message-ID <[email protected]>
--0-1435549911-1208744195=:79798
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello !=0AI just got started using libmad.=C2=A0 I need to write an applica=
tion to decode an mp3 file.I tried to run minimad.c, some errors like that:=
=0Adecoding error 0x0101(lost synchronization)at byte offset 0=0Adecoding e=
rror 0x0101(lost synchronization)at byte offset 5539905=0Amy soundcard info=
:=0AMultimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 02)=0ASu=
bsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128=0AFlags: b=
us master, ?? devsel, latency 64, IRQ 18=0AI/O ports at 1400 [size=3D64]=0A=
my=C2=A0kernal system( running in VMware workstation)=C2=A0info:=0A2.6.15-1=
.2054_FC5 i686 athlon i386=0Asomething in /etc/modprobe.conf is:alias eth0 =
pcnet32=0Aalias scsi_hostadapter BusLogic=0Aalias snd-card-0 snd-ens1371=0A=
options snd-card-0 index=3D0=0Aoptions snd-ens1371 index=3D0 =0Aremove snd-=
ens1371 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprob=
e -r --ignore-remove snd-ens1371=0ACan anyone please help me? Thank you!!=
=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 feifei.wang=0A=0A=0A=0A      ______=
_____________________________________________________ =0A =E9=9B=85=E8=99=
=8E=E9=82=AE=E7=AE=B1=EF=BC=8C=E6=82=A8=E7=9A=84=E7=BB=88=E7=94=9F=E9=82=AE=
=E7=AE=B1=EF=BC=81 =0Ahttp://cn.mail.yahoo.com/
--0-1435549911-1208744195=:79798
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: quoted-printable

<html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
ad><body><div style=3D"font-family:times new roman, new york, times, serif;=
font-size:12pt"><DIV>Hello !</DIV>=0A<DIV>I just got started using libmad.&=
nbsp; I need to write an application to decode an mp3 file.I tried to run m=
inimad.c, some errors like that:</DIV>=0A<DIV>decoding error 0x0101(lost sy=
nchronization)at byte offset 0</DIV>=0A<DIV>=0A<DIV>decoding error 0x0101(l=
ost synchronization)at byte offset 5539905</DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV=
>my soundcard info:</DIV>=0A<DIV>=0A<P class=3DMsoNormal style=3D"MARGIN: 0=
cm 0cm 0pt"><SPAN lang=3DEN-US>Multimedia audio controller: Ensoniq ES1371 =
[AudioPCI-97] (rev 02)</SPAN></P>=0A<P class=3DMsoNormal style=3D"MARGIN: 0=
cm 0cm 0pt"><SPAN lang=3DEN-US>Subsystem: Ensoniq Creative Sound Blaster Au=
dioPCI64V, AudioPCI128</SPAN></P>=0A<P class=3DMsoNormal style=3D"MARGIN: 0=
cm 0cm 0pt"><SPAN lang=3DEN-US>Flags: bus master, ?? devsel, latency 64, IR=
Q 18</SPAN></P>=0A<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US>I/O ports at 1400 [size=3D64]</SPAN></P>=0A<P class=3DMsoNorma=
l style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US></SPAN>&nbsp;</P>=0A<P c=
lass=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US>my&nbsp;k=
ernal system( running in VMware workstation)&nbsp;info:</SPAN></P>=0A<P cla=
ss=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US><SPAN lang=
=3DEN-US style=3D"FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bi=
di-font-size: 12.0pt; mso-fareast-font-family: =CB=CE=CC=E5; mso-font-kerni=
ng: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-=
language: AR-SA">2.6.15</SPAN><SPAN lang=3DEN-US style=3D"FONT-SIZE: 10.5pt=
; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-f=
ont-family: =CB=CE=CC=E5; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US=
; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">-1.2054_FC5 i686 a=
thlon i386</SPAN></SPAN></P>=0A<P class=3DMsoNormal style=3D"MARGIN: 0cm 0c=
m 0pt"><SPAN lang=3DEN-US><SPAN lang=3DEN-US style=3D"FONT-SIZE: 10.5pt; FO=
NT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-=
family: =CB=CE=CC=E5; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; ms=
o-fareast-language: ZH-CN; mso-bidi-language: AR-SA"></SPAN></SPAN>&nbsp;</=
P>=0A<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US>=
<SPAN lang=3DEN-US style=3D"FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roma=
n'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: =CB=CE=CC=E5; mso-=
font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN;=
 mso-bidi-language: AR-SA">something in /etc/modprobe.conf is:</SPAN></SPAN=
></P><SPAN lang=3DEN-US><SPAN lang=3DEN-US style=3D"FONT-SIZE: 10.5pt; FONT=
-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-fa=
mily: =CB=CE=CC=E5; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-=
fareast-language: ZH-CN; mso-bidi-language: AR-SA">=0A<P class=3DMsoNormal =
style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US>alias eth0 pcnet32</SPAN><=
/P>=0A<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=
>alias scsi_hostadapter BusLogic</SPAN></P>=0A<P class=3DMsoNormal style=3D=
"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US>alias snd-card-0 snd-ens1371</SPAN=
></P>=0A<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-=
US>options snd-card-0 index=3D0</SPAN></P>=0A<P class=3DMsoNormal style=3D"=
MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US>options snd-ens1371 index=3D0 </SPA=
N></P>=0A<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN=
-US>remove snd-ens1371 { /usr/sbin/alsactl store 0 &gt;/dev/null 2&gt;&amp;=
1 || : ; }; /sbin/modprobe -r --ignore-remove snd-ens1371</SPAN></P>=0A<P c=
lass=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US></SPAN>&n=
bsp;</P>=0A<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3D=
EN-US>Can anyone please help me? Thank you!!</SPAN></P>=0A<P class=3DMsoNor=
mal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; feifei.wang<BR></P></SPAN>=0A<P class=3DMsoNormal style=3D"M=
ARGIN: 0cm 0cm 0pt"></SPAN></SPAN>&nbsp;</P></DIV></DIV></div><br>=0A=0A=0A=
      <hr size=3D1><a href=3D"http://cn.mail.yahoo.com/"> =D1=C5=BB=A2=D3=
=CA=CF=E4=A3=AC=C4=FA=B5=C4=D6=D5=C9=FA=D3=CA=CF=E4=A3=A1</a></body></html>
--0-1435549911-1208744195=:79798--