diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-04-27 03:08:23 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-04-27 03:08:23 +0000 |
commit | c537d5958e8b421ac4f9bef6c8b9e7425a6cf167 (patch) | |
tree | 7ed36518fb6524da7bbd913ba7619b85b5d15d23 /apps/codec_thread.h | |
parent | dcf0f8de4a37ff1d2ea510aef75fa67977a8bdcc (diff) | |
download | rockbox-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.h | 7 |
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 */ |
28 | int get_codec_base_type(int type); | ||
29 | const char *get_codec_filename(int cod_spec); | 28 | const 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! */ |
47 | intptr_t codec_ack_msg(intptr_t data, bool stop_codec); | ||
48 | bool codec_load(int hid, int cod_spec); | 46 | bool codec_load(int hid, int cod_spec); |
47 | void codec_go(void); | ||
48 | bool codec_pause(void); | ||
49 | void codec_seek(long time); | ||
49 | void codec_stop(void); | 50 | void codec_stop(void); |
51 | void codec_unload(void); | ||
50 | int codec_loaded(void); | 52 | int codec_loaded(void); |
53 | |||
51 | /* */ | 54 | /* */ |
52 | 55 | ||
53 | #endif /* _CODEC_THREAD_H */ | 56 | #endif /* _CODEC_THREAD_H */ |