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



Rockbox mail archive

Subject: Re: Automobile ignition auto-stop play?
From: c s (rb_dev_at_yahoo.com)
Date: 2003-04-24


--- Michael O'Quinn <michael_at_oquinn.info> wrote:
> On Thu, 24 Apr 2003, c s wrote:
>
> > Anyone interested in having this?
> >
> > I wrote a few lines of code that stops playback
> when
> > your car ignition is turned off (provided that the
> > Archos is plugged into a car power adapter that
> takes
> > power away when the car is turned off).
> >
> > It actually does a pause when the external power
> is
> > removed, and if the Archos is still on when the
> > external power comes back on it starts playback
> again.
> >
>
> Will this work with all 3 different types of
> devices? (Or maybe 4 types,
> if the early Players have different power logic.
> Not sure on that one...)

It uses a call to charger_inserted() in power.c which
appears to be ifdef'd to work with the player,
recorder, and FM.

=====
Craig

rb_dev_at_yahoo.com

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com



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