<style> p {margin-top:0px;margin-bottom:0px;} </style> <table border=0 width=100% bgcolor='' cellpadding=0 cellspacing=0 align=center>         <tr>         <td valign=top style='padding:8pt;'><font size=2>Hi! I excuted "sampleenc male.wav | sampledec male1.wav"(follow sample), but its result (male1.wav) is like durt. How to certify this file? winxp, VC++ 6.0 My step is as below: -I built libspeex.dll with libspeex_dynamic.dsp(speex-1.1.10) -I built sampleenc, but error(sampleenc.obj : error LNK2001: unresolved external symbol _speex_nb_mode) happened (i set Project/settings/C/C++ and link in VC++) -I changed like below state = speex_encoder_init(&speex_nb_mode); -> const SpeexMode * mode; mode = speex_lib_get_mode(SPEEX_MODEID_NB); state = speex_encoder_init(mode); -speex_encoder_init was added in speex.def. -After above, sampleenc was built -Sampledec too -I excuted "sampleenc male.wav | sampledec male1.wav" -13 times, "nbBytes: 38" was written. -But male1.wav was like durt, any audio player can</font></td></tr> </table> <table border=0 cellpadding=0 cellspacing=1 align=center> <tr><td bgcolor="#ffffff" align="center" width=130> <iframe src='avatarfile.hanmail.net/bin/getavatar?EUSERID=QNEs_QMNeYM0&LOOK=1' width=130 height=150 border=0 frameborder=0 scrolling=no></iframe></td> <td align="left" valign="middle"> <table border=0 cellpadding=0 cellspacing=0> <tr><td><img src='image.hanmail.net/hm/av/box1_c1.gif'></td>         <td background='image.hanmail.net/hm/av/box1_upbg.gif'></td>         <td><img src='image.hanmail.net/hm/av/box1_c2.gif'></td> </tr> <tr><td background='image.hanmail.net/hm/av/box1_lbg.gif' valign=top><img src='image.hanmail.net/hm/av/box1_c11.gif'></td>         <td background='image.hanmail.net/hm/av/box1_bg.gif' style='line-height:120%; padding:10px'><font color=#000000><p><a href="myhome.shinbiro.com/~num1224/logo/muto.gif" target="_blank"><img src="myhome.shinbiro.com/~num1224/logo/los.gif" width="90" height="72" border="0"></a></p> <br></font></td>         <td background='image.hanmail.net/hm/av/box1_rbg.gif'></td> </tr> <tr><td><img src='image.hanmail.net/hm/av/box1_c3.gif'></td>         <td background='image.hanmail.net/hm/av/box1_dwbg.gif'></td>         <td><img src='image.hanmail.net/hm/av/box1_c4.gif'></td> </tr> </table></td> <td> </td> </tr> </table> <!--DzÅÍ µðÆúÆ®--> <br><br> <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center"> <tr><td colspan="3" height="1" background="mailimg.hanmail.net/05mail/img_dotline.gif"></td></tr> <tr> <td colspan="3" height="32" class="d_12_333333" style="padding-top:4px;">"¿ì¸® ÀÎÅͳÝ, Daum" <a href="daum.net" target="_top" class="d_12_333333">daum.net</a> ¡ºÆò»ý¾²´Â ¹«·á ÇѸÞÀϳݡ»<br></td> </tr> <tr> <td width="50%" style="border:1px #dfdfdf solid;"> <a href=" allim.daum.net/servlet/Redirect?sid=online_kt050801" target="_new"><img src="mailimg.hanmail.net/05img/banner/footbn_050801_kt.gif" width="350" height="48" border="0"></a><br></td> <td width="12" nowrap></td> <td width="50%" style="border:1px #dfdfdf solid;"><a href=" allim.daum.net/servlet/Redirect?sid=footer_smarton0801" target="_blank"><img src="mailimg.hanmail.net/05img/banner/footbn_050801_smart.gif" width="350" height="48" border="0"></a><br></td> </tr> </table> <img src="wwl79.hanmail.net:4280/@from=num1224&rcpt=speex-dev@xiph.org&msgid=<20050811195142.HM.zz000000003V9pl@num1224.wwl79.hanmail.net>">
Speex just compress raw file, it doesn't create a good file because the input file have a header in the wav file, delete the header, do the same thing, and after add the header to the file created and you should be able to read it with vlc for example. Nono