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



Rockbox mail archive

Subject: Fade on Power on/off
From: Mark Bright (mark_at_redbreva.co.uk)
Date: 2004-06-14


We already have a facility to enable fade on Pause / Stop / Start,

What's the possibility of adding the same fade up/down functionality on
Power ON, Power OFF?
Preferably starting to fade out on OFF pressed rather than released - as
mentioned in a previous thread

A simple
for(i=(mas_codec_readreg(0x10)>>8)&0xFF; i; i--)
  mas_codec_writereg(0x10<<8, i);
  sleep(HZ/10);

In power_off() in power.c gives a nice fade out, but I can't see where to do
the reverse for power ON.

So, does anyone else think this is a good idea, and can someone tell me
where to do the power on fade?
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox



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