[Speex-dev] Re: Decoding

Dragon dragon at dazoe.net
Sat Jun 4 21:29:41 PDT 2005

What do you mean by write my code properly? With the way it's written 
right now it is encoding writing out to a stream and decoding from that 
stream but i'd like to use VBR but when i try it my app fails. and also 
on a different note I've written some test apps where it recordes from 
the mic encodes decodes then playes but when i try streaming it over the 
internet it has long pauses in it and plays at like twice the speed, 
which i belive that is why i'm getting the pause. I've tried changing 
settings but can never fix the problem.

Jean-Marc Valin wrote:
> What do you mean by knowing the frame size? Technically, all Speex
> frames are 20 ms long. If you mean knowing the number of frames in a
> packet of the number of compressed bytes, then the answer is no, as long
> as you write your code properly.
> 	Jean-Marc
> Le samedi 04 juin 2005 à 22:56 -0500, Dragon a écrit :
>>One quick question. Does the decoder have to know the frame size for 
>>each encoded packet? right now i have a program streaming encoded data. 
>>Do i need to have it add in the length for each packet size?
>>   -Dragon
>>Speex-dev mailing list
>>Speex-dev at xiph.org

More information about the Speex-dev mailing list