path: root/apps/codec_thread.h
diff options
authorMichael Sevakis <>2011-04-27 03:08:23 +0000
committerMichael Sevakis <>2011-04-27 03:08:23 +0000
commitc537d5958e8b421ac4f9bef6c8b9e7425a6cf167 (patch)
tree7ed36518fb6524da7bbd913ba7619b85b5d15d23 /apps/codec_thread.h
parentdcf0f8de4a37ff1d2ea510aef75fa67977a8bdcc (diff)
Commit FS#12069 - Playback rework - first stages. Gives as thorough as possible a treatment of codec management, track change and metadata logic as possible while maintaining fairly narrow focus and not rewriting everything all at once. Please see the rockbox-dev mail archive on 2011-04-25 (Playback engine rework) for a more thorough manifest of what was addressed. Plugins and codecs become incompatible.
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codec_thread.h')
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/codec_thread.h b/apps/codec_thread.h
index 7056e2cdf5..acd7e556e2 100644
--- a/apps/codec_thread.h
+++ b/apps/codec_thread.h
@@ -25,7 +25,6 @@
#include <stdbool.h>
/* codec identity */
-int get_codec_base_type(int type);
const char *get_codec_filename(int cod_spec);
/* codec thread */
@@ -44,10 +43,14 @@ int codec_thread_set_priority(int priority);
/* codec commands - on audio thread only! */
-intptr_t codec_ack_msg(intptr_t data, bool stop_codec);
bool codec_load(int hid, int cod_spec);
+void codec_go(void);
+bool codec_pause(void);
+void codec_seek(long time);
void codec_stop(void);
+void codec_unload(void);
int codec_loaded(void);
/* */
#endif /* _CODEC_THREAD_H */