On Wed, 2007-05-30 at 13:59 +0200, Damian Stewart wrote:
Tim Blechmann wrote:
and of course, an implementation has to be lockfree, if it should be usable in low-latency environments ...
mm? why so?
if you work with 64 samples at 44100 Hz, the audio hardware will send you an interrupt each 1.4 ms ... on modern operating systems, you have a scheduler granularity from 1000 Hz, so depending on the dispatcher of your os, a suspend/resume cycle can take up to 1ms ...
basically, blocking synchronization and low-latency audio are mutual exclusive ...
tim
-- tim@klingt.org ICQ: 96771783 http://tim.klingt.org
A paranoid is a man who knows a little of what's going on. William S. Burroughs