correcting samples_per_frame in pjmedia clock_thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Yes, you're right, it should have been fixed by ticket #753.

Thanks,
nanang

PS: it's been long time we haven't update our PortAudio revision
binding, so perhaps it's a good reminder for us to schedule it :)


On Mon, Mar 16, 2009 at 9:03 PM, yyy <yyypublic at googlemail.com> wrote:
> Hello,
>
> It seems that clock_thread may be setting its timestamp incorrectly as a result
> of an incorrect setting for samples_per_frame in pjmedia_clock_create:
>
> Shouldn't
> ? ?clock->samples_per_frame = samples_per_frame;
> be this instead?
> ? ?clock->samples_per_frame = samples_per_frame / channel_count;
>
> Cheers,
> Yann
>
> ps note that if anyone is interested in correct PortAudio timestamps for
> AdaptingInputOnlyProcess you may want the -r1408 patch in
> portaudio/trunk/src/common/pa_process.c from 03/13/09 12:41:39
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux