From c537d5958e8b421ac4f9bef6c8b9e7425a6cf167 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 27 Apr 2011 03:08:23 +0000 Subject: 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 --- apps/codec_thread.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'apps/codec_thread.h') 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 /* 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); #endif /* 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 */ -- cgit v1.2.3