summaryrefslogtreecommitdiffstats
path: root/apps/codec_thread.h
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2009-10-31 19:17:36 +0000
committerJeffrey Goode <jeffg7@gmail.com>2009-10-31 19:17:36 +0000
commit9a4420bf96f2fb105369106f7f6049985d8ee703 (patch)
treee27ce51a67127a6ed35920a45def4f1ad3f4fcb5 /apps/codec_thread.h
parent15ea6e663f1b8ef006d4662d33c2dba1d85d2ddf (diff)
downloadrockbox-9a4420bf96f2fb105369106f7f6049985d8ee703.tar.gz
rockbox-9a4420bf96f2fb105369106f7f6049985d8ee703.tar.bz2
rockbox-9a4420bf96f2fb105369106f7f6049985d8ee703.zip
FS#10739: playback.c code split
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23444 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codec_thread.h')
-rw-r--r--apps/codec_thread.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/apps/codec_thread.h b/apps/codec_thread.h
new file mode 100644
index 0000000000..26a0f1fdd8
--- /dev/null
+++ b/apps/codec_thread.h
@@ -0,0 +1,35 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2005 Miika Pekkarinen
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+#ifndef _CODEC_THREAD_H
+#define _CODEC_THREAD_H
+
+#include <stdbool.h>
+
+const char *get_codec_filename(int cod_spec);
+void codec_thread_do_callback(void (*fn)(void),
+ unsigned int *codec_thread_id);
+void make_codec_thread(void);
+int get_codec_base_type(int type);
+void codec_init_codec_api(void);
+bool codec_is_loaded(void);
+
+#endif