Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Play Delay in Car-Adapter-Mode...
From: Carsten Tschach (Carsten_at_tschach.com)
Date: 2004-07-11


Hi folks,

I'm just playing around with some settings in the Car-Adapter-Mode. First off
all, we do have the delay in resume play if you unplug and plug the charger again.

If I'm right this is be done with the following line in powermgmt.c:

        play_resume_time = current_tick + HZ*5;

So "5" is the multiplicator and let me adjust the time when play will be resumed.

Since we do have the auto-startup-feature implemented which will automaticly
boot Rockbox if the charger is connected. The device than jumps into play
without any delays which will confuse my radio a bit.

So what I want is the same delay on resume play when booting, as we have for the
unplug/plug resume.

Any hints, where I can insert such a delay?

Bye, Carsten

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa