[LAD] Re: Admissable clock inaccuracy for MIDI

Fons Adriaensen <[email protected]>
Newsgroups gmane.linux.audio.devel
Message-ID <Y/[email protected]>
On Wed, Feb 22, 2023 at 10:52:49AM +0100, Jeanette C. wrote:

> https://www.dropbox.com/s/b0bh9pxsqzmar5j/midiclock.cpp

This is very strange:

   miss_time = now - wakeup;
   wakeup = now + (delta - miss_time);

Which just means:

   wakeup += delta;

So it's not wrong, just confusing by suggesting this
somehow compensates for the previous tick being late.
It doesn't, nor should that be done.

-- 
FA

_______________________________________________
Linux-audio-dev mailing list -- linux-audio-dev-cunTk1MwBs/[email protected]
To unsubscribe send an email to linux-audio-dev-leave-cunTk1MwBs/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.