summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-12-09 18:48:02 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-12-09 18:48:02 +0000
commit90ce8269033dd1f06a5054392f35e45e45a5c560 (patch)
tree0583f4c56c2b8d73078f2112cc851862b859385d /apps/plugin.c
parent19f487b451b026833a6d9aaeabcec756c9e9f2b7 (diff)
downloadrockbox-90ce8269033dd1f06a5054392f35e45e45a5c560.zip
rockbox-90ce8269033dd1f06a5054392f35e45e45a5c560.tar.gz
rockbox-90ce8269033dd1f06a5054392f35e45e45a5c560.tar.bz2
rockbox-90ce8269033dd1f06a5054392f35e45e45a5c560.tar.xz
Initial commit of the PictureFlow plugin, a nice visualization for album covers.
Original code by Ariya Hidayat. Rockbox port by Jonas Hurrelmann and a few tweaks by me. On the first startup the database is scanned and album art is searched for each album. This process will take some time (dircache enabled and/or database in RAM speed it up, and it is possible to abort by pressing MENU), but the results are cached and the next startups will be very quick. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15900 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 9067097..10391f9 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -532,6 +532,38 @@ static const struct plugin_api rockbox_api = {
remote_backlight_set_timeout_plugged,
#endif
#endif /* HAVE_REMOTE_LCD */
+
+#if (CONFIG_CODEC == SWCODEC)
+ bufopen,
+ bufalloc,
+ bufclose,
+ bufseek,
+ bufadvance,
+ bufread,
+ bufgetdata,
+ bufgettail,
+ bufcuttail,
+
+ buf_get_offset,
+ buf_handle_offset,
+ buf_request_buffer_handle,
+ buf_set_base_handle,
+ buf_used,
+#endif
+
+#ifdef HAVE_TAGCACHE
+ tagcache_search,
+ tagcache_search_set_uniqbuf,
+ tagcache_search_add_filter,
+ tagcache_get_next,
+ tagcache_retrieve,
+ tagcache_search_finish,
+#endif
+
+#ifdef HAVE_ALBUMART
+ find_albumart,
+ search_albumart_files,
+#endif
};
int plugin_load(const char* plugin, void* parameter)