From 2054627caa7f71c564ce35b4525b6281fcd2cc39 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 5 Jan 2009 10:31:19 +0000 Subject: Have the codec thread do callbacks instead of messing with the stack which is much simpler and safer. Remove threads array from plugin API since it now serves no purpose. Up minimum API version and sort. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19684 a1c6a512-1295-4272-9138-f99709370657 --- apps/playback.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/playback.h') diff --git a/apps/playback.h b/apps/playback.h index e65d5da150..3fcb454cc9 100644 --- a/apps/playback.h +++ b/apps/playback.h @@ -42,6 +42,8 @@ enum AUDIO_WANT_VOICE, }; bool audio_restore_playback(int type); /* Restores the audio buffer to handle the requested playback */ +void codec_thread_do_callback(void (*fn)(void), + unsigned int *codec_thread_id); #ifdef HAVE_ALBUMART int audio_current_aa_hid(void); -- cgit v1.2.3