Re: Question on delay/latency in USB driver again! by aze2cool
aze2cool
Sun Mar 26 16:49:53 CST 2006
Many thanks again for your reply, Tim.
In the case of no way to find the delay, is there any way to reduce this
delay, says 5ms ~ 1ms(my algorithm can tolerance this amount of delay)? I
know there is a driver called ASIO can acheive that but I have no idea how
they do it. Also, someone out there asked me to try kernel streaming. Again,
I have no idea how to start with it. :-( could you please provide me some
pointers?
Many thanks in advance.
Best Regards,
aze2cool
"Tim Roberts" wrote:
> aze2cool <aze2cool@discussions.microsoft.com> wrote:
> >
> >Many many thanks for your reply, Tim.
> >
> >Since this delay is not constant and depending on the OS loading. I need to
> >find out this delay at the lower filter during run time. Is it possible to do
> >that?
>
> No. It's impossible. Think about it. You know when the data reaches you,
> but how can you possibly know when the signal arrived at the input jack?
>
> Actually, except in extraordinary circumstances, the delay will not vary
> with OS load. Your completion handler is called from an ISR. Unless there
> is a driver keeping interrupts disabled for long periods, the delay should
> be relatively constant.
> --
> - Tim Roberts, timr@probo.com
> Providenza & Boekelheide, Inc.
>