[mythtv] [PATCH] OS X sleep prevention patch

Jeremiah Morris jm at whpress.com
Wed Nov 17 06:33:49 UTC 2004

On 17 Nov 2004, at 1:16 AM, Nigel Pearson wrote:

>> This version improves the timing between anti-sleep events.
> 2) The new code "sends a wakeup" every 30 seconds,
>    instead of 750/framerate, right?

Correct.  I picked 750 originally to be about 30 sec. during NTSC or 
PAL framerates.  I realized that, if the framerate were significantly 
lower (during slow motion playback?), the "wake up" events might not 
come fast enough.  The lowest screen dimming setting in Energy Saver 
kicks in after 30 seconds, which is the time Apple used in their 
example code.

- Jer

More information about the mythtv-dev mailing list