[Asterisk-Users] Problem with Playback sound in 64 bit machine

Nitin Gupta niting at gmail.com
Sun Feb 12 05:10:29 MST 2006


well if I pass the parameter as whennext/4 instead of whennext/8 in
file.c=> ast_readaudio_callback() => ast_sched_add(
.....,whennext/4,...)
things start working fine.

I debugged the sched.c and time.c didn't find why this should happen.
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.

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.

Anyone willing to debug things further??

Nitin



On 2/12/06, Nitin Gupta <niting at gmail.com> wrote:
>
> sorry can you elaborate a little, what exactly is timing issue?
> Thanks
>
>
> On 2/12/06, Martin Joseph <ast at stillnewt.org> wrote:
> >
> >
> > On Feb 12, 2006, at 1:05 AM, Nitin Gupta wrote:
> >
> > > Sorry for re-posting this message -
> > > Iam trying to run the latest stable Asterix version 1.2.4. on 64 bit
> > > amd procesor.
> > > Things are working but the playback sounds that I hear when tring to
> > > connect over IAX are of very high frequency.
> > > i.e a sentence which should finish in 4 secs finishes in much lesser
> > > time. Where can be the problem? any configuration issue?
> > >
> > A timing issue with your linux distro?  Whatever that is....
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com<http://easynews.com/>--
> >
> > Asterisk-Users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060212/60297e16/attachment.htm


More information about the asterisk-users mailing list