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

Fade on Power on/off

From: Mark Bright <mark_at_redbreva.co.uk>
Date: Mon, 14 Jun 2004 19:40:09 +0100

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
Received on 2004-06-14

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy