<div>got the answer ---- the gettimeofday() is twice as fast as the one in older box, problem with system clock.</div>
<div> </div>
<div>Nitin<br><br> </div>
<div><span class="gmail_quote">On 2/12/06, <b class="gmail_sendername">Nitin Gupta</b> <<a href="mailto:niting@gmail.com">niting@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>well if I pass the parameter as whennext/4 instead of whennext/8 in file.c => ast_readaudio_callback() => ast_sched_add( .....,whennext/4,...)</div>
<div>things start working fine.</div>
<div> </div>
<div>I debugged the sched.c and time.c didn't find why this should happen.</div>
<div>Since the scheduler calculates time-interval and keeps schedule queue item wrt timeval struct, so changing the machine clock frequency as long as gettimeofday() returns the same value should not matter.</div>
<div> </div>
<div>I compared the whennext value in my new machine with the one in old machine where asterisk as it is works fine - the values in both machine are same.</div>
<div> </div>
<div>Anyone willing to debug things further??</div><span class="sg">
<div> </div>
<div>Nitin </div></span>
<div><span class="e" id="q_1095e2b4c0ed10f9_2">
<div> </div>
<div><br> </div>
<div><span class="gmail_quote">On 2/12/06, <b class="gmail_sendername">Nitin Gupta</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:niting@gmail.com" target="_blank">niting@gmail.com</a>> wrote:
</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>sorry can you elaborate a little, what exactly is timing issue?</div>
<div>Thanks<br><br> </div>
<div><span><span class="gmail_quote">On 2/12/06, <b class="gmail_sendername">Martin Joseph</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ast@stillnewt.org" target="_blank">ast@stillnewt.org
</a>> wrote:</span> </span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span><br>On Feb 12, 2006, at 1:05 AM, Nitin Gupta wrote:<br><br>> Sorry for re-posting this message -
<br></span>> Iam trying to run the latest stable Asterix version 1.2.4. on 64 bit<span><br>> amd procesor.<br>> Things are working but the playback sounds that I hear when tring to<br>> connect over IAX are of very high frequency.
<br>> i.e a sentence which should finish in 4 secs finishes in much lesser <br>> time. Where can be the problem? any configuration issue?<br>> <br>A timing issue with your linux distro? Whatever that is....<br><br>
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://easynews.com/" target="_blank">Easynews.com</a> --<br><br>
Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></span></blockquote></div><br></blockquote></div><br></span></div></blockquote></div><br>