summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/misc.c3
-rw-r--r--apps/playback.h1
-rw-r--r--apps/voice_thread.h1
-rw-r--r--firmware/export/kernel.h1
4 files changed, 4 insertions, 2 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 @@
83#include "bookmark.h" 83#include "bookmark.h"
84#include "wps.h" 84#include "wps.h"
85#include "playback.h" 85#include "playback.h"
86#if CONFIG_CODEC == SWCODEC
87#include "voice_thread.h"
88#endif
86 89
87#ifdef BOOTFILE 90#ifdef BOOTFILE
88#if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF) \ 91#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 {
70#endif 70#endif
71 71
72/* Functions */ 72/* Functions */
73void voice_wait(void);
74bool audio_is_thread_ready(void); 73bool audio_is_thread_ready(void);
75int audio_track_count(void); 74int audio_track_count(void);
76long audio_filebufused(void); 75long 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);
27void mp3_play_pause(bool play); 27void mp3_play_pause(bool play);
28bool mp3_is_playing(void); 28bool mp3_is_playing(void);
29 29
30void voice_wait(void);
30void voice_stop(void); 31void voice_stop(void);
31void voice_thread_init(void); 32void voice_thread_init(void);
32void voice_thread_resume(void); 33void voice_thread_resume(void);
diff --git a/firmware/export/kernel.h b/firmware/export/kernel.h
index 54a53f3607..76ed96bd14 100644
--- a/firmware/export/kernel.h
+++ b/firmware/export/kernel.h
@@ -86,7 +86,6 @@
86#define SYS_VOLUME_CHANGED MAKE_SYS_EVENT(SYS_EVENT_CLS_MISC, 5) 86#define SYS_VOLUME_CHANGED MAKE_SYS_EVENT(SYS_EVENT_CLS_MISC, 5)
87 87
88#define IS_SYSEVENT(ev) ((ev & SYS_EVENT) == SYS_EVENT) 88#define IS_SYSEVENT(ev) ((ev & SYS_EVENT) == SYS_EVENT)
89#define EVENT_RESERVED (~0)
90 89
91#ifndef TIMEOUT_BLOCK 90#ifndef TIMEOUT_BLOCK
92#define TIMEOUT_BLOCK -1 91#define TIMEOUT_BLOCK -1