[Freeswitch-dev] Typo in stfu.c ?

Anthony Minessale anthony.minessale at gmail.com
Sat Aug 9 22:17:41 EDT 2008


I agree, I changed it in in trunk.  Thanks.



2008/8/7 Vassil Panayotov <vd.panayotov at gmail.com>

> Hi list,
>
> I asked Anthony about this in IRC, but he seemed to be quite busy at
> cluecon and I really don't understand how this works.
>
> If I understand correctly, the function stfu_n_measure_interval tries to
> estimate what the difference between timestamps of two consecutive RTP
> packets should be and records the frequency of occurrence? I don't
> understand the following(stfu.c:128) :
>
> if (track[index] > most) {
>             most = index;
>         }
>
> What is the point of comparing the frequency of occurrence with an index?
> Maybe it should be:
>
>  if (track[index] > track[most]) {
>             most = index;
>         }
>
> Best regards.
> Vassil
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20080809/eb0e74d3/attachment.html 


More information about the Freeswitch-dev mailing list