summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-04-27 04:00:48 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-04-27 04:00:48 +0000
commit82e97363f1f7b1f0e534849925b7145f28deed8b (patch)
treedc021a37ab2b1e9aa7b94c06f680971818194580
parenta089b00ea00dd2dce017f5e16b9b62bae2d8c665 (diff)
downloadrockbox-82e97363f1f7b1f0e534849925b7145f28deed8b.tar.gz
rockbox-82e97363f1f7b1f0e534849925b7145f28deed8b.zip
Get rid of a committed #define from kernel.h that didn't make the final cut. Put voice_wait in voice_thread.h where it ought.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29787 a1c6a512-1295-4272-9138-f99709370657
-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