diff options
| author | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-15 20:58:14 +0000 |
|---|---|---|
| committer | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-15 20:58:14 +0000 |
| commit | bda8a963ad0ce49f67cb6641bb3b966f770366f3 (patch) | |
| tree | fba921269db2805edb4e837bf204e033874ff9fa /apps/talk.h | |
| parent | 160d9f69086140b058726069b36ccdb98685c863 (diff) | |
| download | rockbox-bda8a963ad0ce49f67cb6641bb3b966f770366f3.zip rockbox-bda8a963ad0ce49f67cb6641bb3b966f770366f3.tar.gz rockbox-bda8a963ad0ce49f67cb6641bb3b966f770366f3.tar.bz2 rockbox-bda8a963ad0ce49f67cb6641bb3b966f770366f3.tar.xz | |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |