summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-03-16 05:38:37 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-03-16 05:38:37 +0000
commit56dd75d204f861785ca78ae1c6eb506d5f2ea7e9 (patch)
tree19809cf7976dd47513171bac706a061ef130b2b2 /apps/plugin.c
parentdce799641d2f75feda39b087f03a1f64620f3d6b (diff)
downloadrockbox-56dd75d204f861785ca78ae1c6eb506d5f2ea7e9.tar.gz
rockbox-56dd75d204f861785ca78ae1c6eb506d5f2ea7e9.zip
Purge buffer and codec APIs existing exclusively in support of mpa.codec and fix that to not require them: buf_get_offset and ci.advance_buffer_loc. Sort APIs; everything must become incompatible. :(
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29595 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 3807ad5d76..ea290c89a7 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -407,6 +407,7 @@ static const struct plugin_api rockbox_api = {
407 default_event_handler, 407 default_event_handler,
408 default_event_handler_ex, 408 default_event_handler_ex,
409 create_thread, 409 create_thread,
410 thread_self,
410 thread_exit, 411 thread_exit,
411 thread_wait, 412 thread_wait,
412#if (CONFIG_CODEC == SWCODEC) 413#if (CONFIG_CODEC == SWCODEC)
@@ -745,7 +746,6 @@ static const struct plugin_api rockbox_api = {
745 bufgettail, 746 bufgettail,
746 bufcuttail, 747 bufcuttail,
747 748
748 buf_get_offset,
749 buf_handle_offset, 749 buf_handle_offset,
750 buf_request_buffer_handle, 750 buf_request_buffer_handle,
751 buf_set_base_handle, 751 buf_set_base_handle,
@@ -779,7 +779,6 @@ static const struct plugin_api rockbox_api = {
779 779
780 /* new stuff at the end, sort into place next time 780 /* new stuff at the end, sort into place next time
781 the API gets incompatible */ 781 the API gets incompatible */
782 thread_self,
783}; 782};
784 783
785int plugin_load(const char* plugin, const void* parameter) 784int plugin_load(const char* plugin, const void* parameter)