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: question about plugin api extension

Re: question about plugin api extension

From: jobarjo <jobarjo78_at_yahoo.fr>
Date: Mon, 1 Mar 2004 13:41:24 +0100

> Yes, count me in on this!
> (guess I started it anyhow)

COOL

> I suggest we move away from the plugin idea. This is too limiting, unless
> extended substantially. I need more access to the playback control and
> playlists, an own thread, load a different configuration when in car mode,
etc.
> Instead the remote control code should be replaceable, so we have the
> compile option to use the Archos cable remote as default, or your module,
my
> Alpine, the IR remote, serial keyboard, whatever there may be in future.
> Ultimately this could be runtime-loadable, a different kind of plugin, but
> I'm not going that far yet.

Why an own thread? seems a little complicated. The whole thing can be
managed in a state machine way.
Don't you think we can do everything with interrupts?

We might just need 1 function pointer for each application for initializing
(setup uarts, data structure and interrupt handler). this function would
program the interrupt handler for each application.

The firmware might choose to call the desired init for each remote control
app.
Of course, it might be useless to have all protocol handlers in memory.

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on 2004-03-01

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