From bda8a963ad0ce49f67cb6641bb3b966f770366f3 Mon Sep 17 00:00:00 2001 From: Boris Gjenero Date: Thu, 15 Dec 2011 20:58:14 +0000 Subject: Add conditionals for functions only needed on SWCODEC targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31296 a1c6a512-1295-4272-9138-f99709370657 --- apps/talk.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/talk.h') diff --git a/apps/talk.h b/apps/talk.h index e170214..55e7208 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); -- cgit v1.1