summaryrefslogtreecommitdiffstats
path: root/apps/talk.h
diff options
context:
space:
mode:
authorBoris Gjenero <dreamlayers@rockbox.org>2011-12-15 20:58:14 +0000
committerBoris Gjenero <dreamlayers@rockbox.org>2011-12-15 20:58:14 +0000
commitbda8a963ad0ce49f67cb6641bb3b966f770366f3 (patch)
treefba921269db2805edb4e837bf204e033874ff9fa /apps/talk.h
parent160d9f69086140b058726069b36ccdb98685c863 (diff)
downloadrockbox-bda8a963ad0ce49f67cb6641bb3b966f770366f3.tar.gz
rockbox-bda8a963ad0ce49f67cb6641bb3b966f770366f3.tar.bz2
rockbox-bda8a963ad0ce49f67cb6641bb3b966f770366f3.zip
Add conditionals for functions only needed on SWCODEC targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31296 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 e1702147c7..55e7208f1d 100644
--- a/apps/talk.h
+++ b/apps/talk.h
@@ -90,9 +90,11 @@ int talk_file(const char *root, const char *dir, const char *file,
/* play file's thumbnail or spell name */
int talk_file_or_spell(const char *dirname, const char* filename,
const long *prefix_ids, bool enqueue);
+#if CONFIG_CODEC == SWCODEC
/* play dir's thumbnail or spell name */
int talk_dir_or_spell(const char* filename,
const long *prefix_ids, bool enqueue);
+#endif
int talk_number(long n, bool enqueue); /* say a number */
int talk_value(long n, int unit, bool enqueue); /* say a numeric value */
int talk_value_decimal(long n, int unit, int decimals, bool enqueue);