Hy,
it's funny that no-one reply to my post :}
anyway, i have solved the mystery ..
speex returned sample size into frameSize but i needed actual size in bytes
which is 2*frameSize
here is the code that work perfectly ...
i hope that it'll help to someone, someday :}
codec.cpp: http://barvanjekode.gama.us/temp/1169629999.html
codec.h : http://barvanjekode.gama.us/temp/654226010.html
Lp, Tim
+--------------------------+
| email: rico at gama.us |
| www: http://gama.us |
|--------------------------|
| tel: 00386 31 457 627 |
+--------------------------+
2009/9/16 Tim Rijavec <rico at gama.us>
> Hy,
> can anyone recognize that pixel noise in the playbackfile
>
> recorder file:
> http://www.megafileupload.com/en/file/135429/FMODTestRecording-wav.html
> playback file:
> http://www.megafileupload.com/en/file/135431/FMODTestPlayback-wav.html
>
> 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
>
> the recorded file is clean, without noise, but the playback file i get from
> the decoder has that noise.
>
> thanks for your time&help.
>
> the code is of codec is here:
>
> codec.cpp: http://barvanjekode.gama.us/temp/1733774211.html
> codec.h : http://barvanjekode.gama.us/temp/1745553050.html
>
> Lp, Tim
> +--------------------------+
> | email: rico at gama.us |
> | www: http://gama.us |
> |--------------------------|
> | tel: 00386 31 457 627 |
> +--------------------------+
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.xiph.org/pipermail/speex-dev/attachments/20090923/f8f6d6a2/attachment.htm