summaryrefslogtreecommitdiff
path: root/apps/codec_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codec_thread.h')
-rw-r--r--apps/codec_thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codec_thread.h b/apps/codec_thread.h
index 65f64c377e..c33284e141 100644
--- a/apps/codec_thread.h
+++ b/apps/codec_thread.h
@@ -23,12 +23,13 @@
23#define _CODEC_THREAD_H 23#define _CODEC_THREAD_H
24 24
25#include <stdbool.h> 25#include <stdbool.h>
26#include "config.h"
26 27
27/* codec identity */ 28/* codec identity */
28const char *get_codec_filename(int cod_spec); 29const char *get_codec_filename(int cod_spec);
29 30
30/* codec thread */ 31/* codec thread */
31void codec_thread_init(void); 32void codec_thread_init(void) INIT_ATTR;
32 33
33/* Audio MUST be stopped before requesting callback! */ 34/* Audio MUST be stopped before requesting callback! */
34void codec_thread_do_callback(void (*fn)(void), 35void codec_thread_do_callback(void (*fn)(void),