okay that questioned is answered, thank you.<br><br>I am interested in using speex in a VOIP application. do i need to put it in into <br>the ogg contianer format in order to encode/decode and send it? or will it work<br>"as is"? if the latter then:<br><br> "the packet is larger than the allocated buffer" message: whats your recomendaton for fixing that? i was thinking simply getting the size of the frame <br>and using the speex_bits_init_buffer() function to create a bigger buffer. However i<br>want to keep latency in mind and make them as small as possible.<br><br>i apologise if the questions seem simple but i've working at this for sevreal days <br>and i'm a little stump. a indication in the right direction would be helpful.<br><br>thank you in advance,<br>greg<br><br><br><br><br><br><b><i>Jean-Marc Valin <jean-marc.valin@usherbrooke.ca></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left:
5px;"> > does this have anything to do with the message on the example code:<br>> "the packing used is not compatible with speexenc/speexdec" i know it<br>> may sound stupid but it is my first time using speex lib. as well i<br>> had assumed this was so and tweaked the decoder code to decode the<br>> same file that the example encode code made, but i get a "packet is<br>> larger than allocated buffer could not resize buffer, truncating<br>> input" message.<br><br>Well, the note says it all. It's just not compatible. speexenc/dec pack<br>Speex data into an Ogg container, while the sampleenc/dec code just<br>creates an incompatible ad-hoc format just to demonstrate how to use<br>Speex (without bothering with the heavy Ogg code).<br><br> Jean-Marc<br></blockquote><br><p> 
<hr size=1>Building a website is a piece of cake. <br>Yahoo! Small Business gives you <a href="http://us.rd.yahoo.com/evt=48251/*http://smallbusiness.yahoo.com/webhosting/?p=PASSPORTPLUS">all the tools to get online.</a>