diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-01-05 10:31:19 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-01-05 10:31:19 +0000 |
commit | 2054627caa7f71c564ce35b4525b6281fcd2cc39 (patch) | |
tree | 2b0aa3b9b8888c4746b75d4750d90f79552159ee /apps/playback.h | |
parent | 45aa9a22f9a3e08505cc2f2999459d249356ed9c (diff) | |
download | rockbox-2054627caa7f71c564ce35b4525b6281fcd2cc39.tar.gz rockbox-2054627caa7f71c564ce35b4525b6281fcd2cc39.zip |
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
Diffstat (limited to 'apps/playback.h')
-rw-r--r-- | apps/playback.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
42 | AUDIO_WANT_VOICE, | 42 | AUDIO_WANT_VOICE, |
43 | }; | 43 | }; |
44 | bool audio_restore_playback(int type); /* Restores the audio buffer to handle the requested playback */ | 44 | bool audio_restore_playback(int type); /* Restores the audio buffer to handle the requested playback */ |
45 | void codec_thread_do_callback(void (*fn)(void), | ||
46 | unsigned int *codec_thread_id); | ||
45 | 47 | ||
46 | #ifdef HAVE_ALBUMART | 48 | #ifdef HAVE_ALBUMART |
47 | int audio_current_aa_hid(void); | 49 | int audio_current_aa_hid(void); |