[Media_api] Windows got rhythm?

Peter Castine pcastine at gmx.net
Tue Apr 24 18:34:43 PDT 2007


> Peter Castine wrote:
>>     How do I get decent timing on Windows?

Roger: pm_test/latency.c is the obvious place to look, thanks for  
kicking a few neurons into action.

Richard: sorry, I was using "timing" in a musical sense, I suppose I  
should have said "accurate scheduling". AFAICT QueryPerformanceCounter 
() (and RDTSC) would be useful for measuring latency/jitter in  
callbacks from timeSetEvent(), but I don't see how to use them to  
schedule a callback.

Thanks for the ideas,
Peter

--------------    http://www.bek.no/~pcastine/Litter/    -------------
Peter Castine             +--> Litter Power & Litter Bundle for Jitter
                                Universal Binaries on the way
iCE:  Sequencing,  Recording &
       Interface  Building  for                   |home    | chez nous|
       Max/MSP   Extremely cool                   |bei uns |  i nostri|
       http://www.dspaudio.com/                   http://www.castine.de




More information about the media_api mailing list