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 65f64c3..c33284e 100644
--- a/apps/codec_thread.h
+++ b/apps/codec_thread.h
@@ -23,12 +23,13 @@
#define _CODEC_THREAD_H
#include <stdbool.h>
+#include "config.h"
/* codec identity */
const char *get_codec_filename(int cod_spec);
/* codec thread */
-void codec_thread_init(void);
+void codec_thread_init(void) INIT_ATTR;
/* Audio MUST be stopped before requesting callback! */
void codec_thread_do_callback(void (*fn)(void),