On Thu, Feb 09, 2023 at 01:34:52PM +0100, Wim Taymans wrote:
real JACK is more mature and does things differently
(mostly device
wakeup with IRQ instead of timers)
The real difference between the two methods is 'sample count'
versus 'time' as the source of the event that starts a period.
I always wondered why one would use a timer, it just amounts
to polling. Suppose you look every 1 ms to check if there
are enough samples for a period. That means you can be up
to 1 ms late. Compare that to the period time of 1.33 ms
when using 64 samples / 48 kHz. Up to 3/4 of the available
time to compute a period could be lost...
Or am I missing something ?
Ciao,
--
FA