summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-05-17 12:34:05 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-05-17 12:34:05 +0000
commitfcf36dd4f9879a82342e5606535d2dcf46d1de2a (patch)
tree21ed249c7a6f9d0bd7e2049c7a9f9e0708ba28f8 /apps/plugin.c
parent9fde12676b382a31a10c58e2473edfde460e4d73 (diff)
downloadrockbox-fcf36dd4f9879a82342e5606535d2dcf46d1de2a.tar.gz
rockbox-fcf36dd4f9879a82342e5606535d2dcf46d1de2a.zip
Simplify mpegplayer a bit and use array-based lists rather than linked lists for stream management. Move a couple useful functions to handle pointer arrays from kernel.c into general.c; mpeglayer now makes use of them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26101 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 90380a0039..b45220acdb 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -724,6 +724,11 @@ static const struct plugin_api rockbox_api = {
724#ifdef AUDIOHW_HAVE_EQ 724#ifdef AUDIOHW_HAVE_EQ
725 sound_enum_hw_eq_band_setting, 725 sound_enum_hw_eq_band_setting,
726#endif 726#endif
727
728#if CONFIG_CODEC == SWCODEC
729 find_array_ptr,
730 remove_array_ptr,
731#endif
727}; 732};
728 733
729int plugin_load(const char* plugin, const void* parameter) 734int plugin_load(const char* plugin, const void* parameter)