diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-11-07 09:28:07 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-11-07 09:28:07 +0000 |
commit | c14430a9c198c261990ceff77bdfa0856ebcf5fe (patch) | |
tree | 04f4f2b479093630c7acde360c0d59de55f8710f /apps/talk.h | |
parent | 51b75d5d3def842cdcf02576eb963a494e26b1b1 (diff) | |
download | rockbox-c14430a9c198c261990ceff77bdfa0856ebcf5fe.tar.gz rockbox-c14430a9c198c261990ceff77bdfa0856ebcf5fe.zip |
compile talk.c on hwcodec sim. it wont actually talk though
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15512 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.h')
-rw-r--r-- | apps/talk.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/apps/talk.h b/apps/talk.h index bb05bd8321..50759bc026 100644 --- a/apps/talk.h +++ b/apps/talk.h | |||
@@ -93,18 +93,6 @@ void talk_date(struct tm *tm, bool enqueue); | |||
93 | /* This (otherwise invalid) ID signals the end of the array. */ | 93 | /* This (otherwise invalid) ID signals the end of the array. */ |
94 | #define TALK_FINAL_ID LANG_LAST_INDEX_IN_ARRAY | 94 | #define TALK_FINAL_ID LANG_LAST_INDEX_IN_ARRAY |
95 | 95 | ||
96 | /* We don't build talk.c for hwcodec sims so we need to define these as empty */ | ||
97 | #if defined(SIMULATOR) && !(CONFIG_CODEC == SWCODEC) | ||
98 | #define talk_init(...) | ||
99 | #define talk_buffer_steal(...) | ||
100 | #define talk_shutup(...) | ||
101 | #define talk_force_enqueue_next(...) | ||
102 | #define talk_idarray(...) | ||
103 | #define talk_ids(...) | ||
104 | #define cond_talk_ids(...) | ||
105 | #define cond_talk_ids_fq(...) | ||
106 | #else | ||
107 | |||
108 | /* Enqueue next utterance even if enqueue parameter is false: don't | 96 | /* Enqueue next utterance even if enqueue parameter is false: don't |
109 | interrupt the current utterance. */ | 97 | interrupt the current utterance. */ |
110 | void talk_force_enqueue_next(void); | 98 | void talk_force_enqueue_next(void); |
@@ -135,5 +123,5 @@ int talk_idarray(long *idarray, bool enqueue); | |||
135 | talk_force_enqueue_next(); \ | 123 | talk_force_enqueue_next(); \ |
136 | } \ | 124 | } \ |
137 | }while(0) | 125 | }while(0) |
138 | #endif /*defined(SIMULATOR) && !(CONFIG_CODEC == SWCODEC)*/ | 126 | |
139 | #endif /* __TALK_H__ */ | 127 | #endif /* __TALK_H__ */ |