This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#2216 - Stop POP/BANG when your Jukebox powers off automatically.
Attached to Project:
Rockbox
Opened by Blue Chip (bluechip) - Tuesday, 08 June 2004, 05:29 GMT+2
Last edited by Rani Hod (RaeNye) - Monday, 18 September 2006, 17:44 GMT+2
Opened by Blue Chip (bluechip) - Tuesday, 08 June 2004, 05:29 GMT+2
Last edited by Rani Hod (RaeNye) - Monday, 18 September 2006, 17:44 GMT+2
|
DetailsStop those nasty loud pops/bangs when your archos
does the auto-poweroff thing... in /firmware/drivers/power.c ...add this to the list of #includes at the top #include "mas.h" ...in the FIRST power_off() routine, ...add this at the very top int i; /* fade out with volume control before powering down */ for(i=mas_codec_readreg(0x10); i; i--) mas_codec_writereg(0x10, i); sleep(HZ/10); /* let the chip finish it's ramping */ JUST ONE OF THE NEW FEATURES FROM THE CYBORG SYSTEMS AUDIO_3587 ENHANCED AUDIO PLUGIN http://homepage.ntlworld.com/cyborgsystems ...Audio_3587 is due for it's first public beta release in the next 48 hours ...it's done, I just need to package it and put it on the website, and I thought you might like this little gem in advance :) BlueChip |
This task depends upon
How can we run code when the Archos powers off automatically?
Wrong, Daniel. It is the firmware that decides when to power
off.
Wrong?
Then the Archos _isn't_ shutting off automatically and that
answers my question too...
Well, it's called "idle poweroff" in Rockbox.
By "Automatically", I exclude "Manually" (3-second salute) and
"if the batteries die" and include all other shut-down events.
Bluechip