FLTK logo

[fltk.coredev] OSX latency (NSProcessInfo / AppNap)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

OSX latency (NSProcessInfo / AppNap) Gonzalo Garramuno Nov 18, 2020  
 
I am trying to reduce the latency of my application on OS X as it currently does not play videos real time without skipping frames.
I read that one problem with timers on OS X is NSProcessInfo (AppNap).  I found the following piece of code on stackoverflow, but it seems like it is not compatible with v10.14/I5 of OS X.  It fails on objc_msgSend().  Does anyone know how to make it work?

-- 
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/5CA70232-3F6E-49F7-934E-52B2E6894C13%40gmail.com.
—
Gonzalo Garramuno
ggarra13@gmail.com




-- 
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/5CA70232-3F6E-49F7-934E-52B2E6894C13%40gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.