Hy,<br><br>it&#39;s funny that no-one reply to my post :}<br>anyway, i have solved the mystery ..<br>speex returned sample size into frameSize but i needed actual size in bytes which is 2*frameSize <br><br>here is the code that work perfectly ...<br>

i hope that it&#39;ll help to someone, someday :}<br><div><br></div><div>codec.cpp:  <a href="http://barvanjekode.gama.us/temp/1169629999.html">http://barvanjekode.gama.us/temp/1169629999.html</a></div>

<div>codec.h   :  <a href="http://barvanjekode.gama.us/temp/654226010.html">http://barvanjekode.gama.us/temp/654226010.html</a><span style="font-family: Verdana; font-size: 16px;"></span><span style="font-family: Verdana; font-size: 16px;"></span></div>

<br><br clear="all">Lp, Tim<br>+--------------------------+<br>
| email: <a href="mailto:rico@gama.us" target="_blank">rico@gama.us</a>      |<br>| www:    <a href="http://gama.us" target="_blank">http://gama.us</a>   |<br>|--------------------------|<br>| tel:    00386 31 457 627 |<br>

+--------------------------+<br>
<br>
<br><br><div class="gmail_quote">2009/9/16 Tim Rijavec <span dir="ltr">&lt;<a href="mailto:rico@gama.us" target="_blank">rico@gama.us</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


Hy,<div><br></div><div>can anyone recognize that pixel noise in the playbackfile</div><div><br></div><div>recorder file: <a href="http://www.megafileupload.com/en/file/135429/FMODTestRecording-wav.html" target="_blank">http://www.megafileupload.com/en/file/135429/FMODTestRecording-wav.html</a></div>



<div>playback file: <a href="http://www.megafileupload.com/en/file/135431/FMODTestPlayback-wav.html" target="_blank">http://www.megafileupload.com/en/file/135431/FMODTestPlayback-wav.html</a><br><br></div><div>i have no idea what that is anymore. i try everything i know, from changing the way of copying data to different encode/decode algorithms</div>



<div><br></div><div>the recorded file is clean, without noise, but the playback file i get from the decoder has that noise.</div><div><br></div><div>thanks for your time&amp;help.</div><div><br></div><div>the code is of codec is here:</div>



<div><br></div><div>codec.cpp: <span style="font-family: Verdana; font-size: 16px;"> <a href="http://barvanjekode.gama.us/temp/1733774211.html" target="_blank">http://barvanjekode.gama.us/temp/1733774211.html</a></span></div>



<div>codec.h   : <span style="font-family: Verdana; font-size: 16px;"><a href="http://barvanjekode.gama.us/temp/1745553050.html" target="_blank">http://barvanjekode.gama.us/temp/1745553050.html</a></span></div><div>
<br clear="all">Lp, Tim<br>+--------------------------+<br>| email: <a href="mailto:rico@gama.us" target="_blank">rico@gama.us</a>      |<br>| www:    <a href="http://gama.us" target="_blank">http://gama.us</a>   |<br>|--------------------------|<br>


| tel:    00386 31 457 627 |<br>
+--------------------------+<br><br>
</div>
</blockquote></div><br>