summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index a8781dd..ff23a55 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -512,10 +512,12 @@ static const struct plugin_api rockbox_api = {
the API gets incompatible */
#if (CONFIG_CODEC == SWCODEC)
- spinlock_init,
- spinlock_lock,
- spinlock_unlock,
+ mutex_init,
+ mutex_lock,
+ mutex_unlock,
#endif
+
+ thread_wait,
};
int plugin_load(const char* plugin, void* parameter)