summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/misc.c3
-rw-r--r--apps/playback.h1
-rw-r--r--apps/voice_thread.h1
3 files changed, 4 insertions, 1 deletions
diff --git a/apps/misc.c b/apps/misc.c
index e4a5c42d0d..55fd7f5f51 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -83,6 +83,9 @@
#include "bookmark.h"
#include "wps.h"
#include "playback.h"
+#if CONFIG_CODEC == SWCODEC
+#include "voice_thread.h"
+#endif
#ifdef BOOTFILE
#if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF) \
diff --git a/apps/playback.h b/apps/playback.h
index 225946cfaf..ea8718089f 100644
--- a/apps/playback.h
+++ b/apps/playback.h
@@ -70,7 +70,6 @@ struct bufopen_bitmap_data {
#endif
/* Functions */
-void voice_wait(void);
bool audio_is_thread_ready(void);
int audio_track_count(void);
long audio_filebufused(void);
diff --git a/apps/voice_thread.h b/apps/voice_thread.h
index 0d13ac293e..4359825dd7 100644
--- a/apps/voice_thread.h
+++ b/apps/voice_thread.h
@@ -27,6 +27,7 @@ void mp3_play_stop(void);
void mp3_play_pause(bool play);
bool mp3_is_playing(void);
+void voice_wait(void);
void voice_stop(void);
void voice_thread_init(void);
void voice_thread_resume(void);