summaryrefslogtreecommitdiff
path: root/apps/talk.h
diff options
context:
space:
mode:
authorStéphane Doyon <s.doyon@videotron.ca>2007-10-10 03:12:17 +0000
committerStéphane Doyon <s.doyon@videotron.ca>2007-10-10 03:12:17 +0000
commit3e31d509553efc5155c7b0b878fa1f24f8975bf0 (patch)
tree87700678b9828815df9a56020af1ab835e242273 /apps/talk.h
parentd529a3845b1eefd396b0c0dbf177740357d03c0b (diff)
downloadrockbox-3e31d509553efc5155c7b0b878fa1f24f8975bf0.tar.gz
rockbox-3e31d509553efc5155c7b0b878fa1f24f8975bf0.zip
Export shutup() function from talk.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15061 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.h')
-rw-r--r--apps/talk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/talk.h b/apps/talk.h
index a95fc27a28..e25a11c702 100644
--- a/apps/talk.h
+++ b/apps/talk.h
@@ -78,6 +78,7 @@ bool talk_menus_enabled(void); /* returns true if menus should be voiced */
78void talk_disable_menus(void); /* disable voice menus (temporarily, not persisted) */ 78void talk_disable_menus(void); /* disable voice menus (temporarily, not persisted) */
79void talk_enable_menus(void); /* re-enable voice menus */ 79void talk_enable_menus(void); /* re-enable voice menus */
80int do_shutup(void); /* kill voice unconditionally */ 80int do_shutup(void); /* kill voice unconditionally */
81int shutup(void); /* Interrupt voice, as when enqueue is false */
81 82
82#if CONFIG_RTC 83#if CONFIG_RTC
83/* this is in talk.c which isnt compiled for hwcodec simulator */ 84/* this is in talk.c which isnt compiled for hwcodec simulator */
@@ -98,6 +99,7 @@ void talk_date_time(struct tm *time, bool speak_current_time_string);
98#define talk_ids(...) 99#define talk_ids(...)
99#define cond_talk_ids(...) 100#define cond_talk_ids(...)
100#define cond_talk_ids_fq(...) 101#define cond_talk_ids_fq(...)
102#define shutup(...)
101#else 103#else
102 104
103/* Enqueue next utterance even if enqueue parameter is false: don't 105/* Enqueue next utterance even if enqueue parameter is false: don't