summaryrefslogtreecommitdiff
path: root/apps/codec_thread.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-04-27 03:08:23 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-04-27 03:08:23 +0000
commitc537d5958e8b421ac4f9bef6c8b9e7425a6cf167 (patch)
tree7ed36518fb6524da7bbd913ba7619b85b5d15d23 /apps/codec_thread.h
parentdcf0f8de4a37ff1d2ea510aef75fa67977a8bdcc (diff)
downloadrockbox-c537d5958e8b421ac4f9bef6c8b9e7425a6cf167.tar.gz
rockbox-c537d5958e8b421ac4f9bef6c8b9e7425a6cf167.zip
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://svn.rockbox.org/rockbox/trunk@29785 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codec_thread.h')
-rw-r--r--apps/codec_thread.h7
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 @@
25#include <stdbool.h> 25#include <stdbool.h>
26 26
27/* codec identity */ 27/* codec identity */
28int get_codec_base_type(int type);
29const char *get_codec_filename(int cod_spec); 28const char *get_codec_filename(int cod_spec);
30 29
31/* codec thread */ 30/* codec thread */
@@ -44,10 +43,14 @@ int codec_thread_set_priority(int priority);
44#endif 43#endif
45 44
46/* codec commands - on audio thread only! */ 45/* codec commands - on audio thread only! */
47intptr_t codec_ack_msg(intptr_t data, bool stop_codec);
48bool codec_load(int hid, int cod_spec); 46bool codec_load(int hid, int cod_spec);
47void codec_go(void);
48bool codec_pause(void);
49void codec_seek(long time);
49void codec_stop(void); 50void codec_stop(void);
51void codec_unload(void);
50int codec_loaded(void); 52int codec_loaded(void);
53
51/* */ 54/* */
52 55
53#endif /* _CODEC_THREAD_H */ 56#endif /* _CODEC_THREAD_H */