Skip to main content

Notice

Please be aware that much of the software linked to or mentioned on this forum is niche and therefore infrequently downloaded. Lots of anti-virus scanners and so-called malware detectors like to flag infrequently downloaded software as bad until it is either downloaded enough times, or its developer actually bothers with getting each individual release allow listed by every single AV vendor. You can do many people a great favor when encountering such a "problem" example by submitting them to your AV vendor for examination. For almost everything on this forum, it is a false positive.
Topic: programing with speex (Read 2579 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

programing with speex

i am trying to add to my application the speex,i get stream of audio of wideband(16khz) and each smaple have 16 bit, as i understood from the manual is that speex get one frame at the time to encode , (one frame for wide band is 320 sample, mean 640 bit), after encode i send it on tcp\ip to the other size and then take the stream i got from the encoder and do decode.
i see that the buf i got after decoder has many zero , and not like the stream before.
i use quality=10 and stiil it sound bad!!!
what do i do wrong?

is it rigth that the encoder of wideband get frame at size 640 bit , and put them in float array of 320, and in decoder i get array of float of 320 and put them into 640 bit, each 4 bit insert to 2 bit of short?

i would be greatfull if someone who understand the code behind the speex could help me with this.


Thanks,
Ayelet

 
SimplePortal 1.0.0 RC1 © 2008-2021