[Speex-dev] Re: tick tick tick

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Mon Jun 6 20:25:49 PDT 2005


Le lundi 06 juin 2005 à 20:19 -0500, Dragon a écrit :
> Well I've comverted to UDP but still have the tick and it can't be the 
> diff soundcards cause it does it on the same computer. Also the wave out 
> buffer keeps growing as if extra data is comming from somewhere eg: the 
> wave out plays just as fast as the wave in so the wave out buffer should 
> not "grow".

Then you might be having xRUN problems or something like that. In all
cases, the problem is in your code and has nothing to do with Speex.

	Jean-Marc

> 	-Dragon
> 	 (dragon at dazoe.net)
> 	  (www.dazoe.net)
> 
> Jean-Marc Valin wrote:
> > Repeat after me: "TCP and VoIP don't mix". You get high latency and the
> > tick you're getting is probably caused by the fact that you'll never get
> > two soundcards with the exact same sampling rate (e.g. one will do 7999
> > Hz and the other 8001 Hz). What you need is RTP/UDP and a jitter buffer.
> > 
> > 	Jean-Marc
> > 
> > Le lundi 06 juin 2005 à 16:12 -0500, Dragon a écrit :
> > 
> >>Hello,
> >>   i working on a VoIP app and i'm useing TCP to keep packets in order 
> >>that's not my issue tho, I've solved my cpu useage problem but now i 
> >>have a tick sound every time i fill a buffer there is a tick does the 
> >>decoder add a small amount of sicelence to each frame or what else could 
> >>it be?
> 
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
> 
-- 
Jean-Marc Valin <Jean-Marc.Valin at USherbrooke.ca>
Université de Sherbrooke



More information about the Speex-dev mailing list