summaryrefslogtreecommitdiffstats
path: root/apps/talk.c
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.c
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.c')
-rw-r--r--apps/talk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/talk.c b/apps/talk.c
index bfad99fbd2..ba2050a9ca 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -957,6 +957,7 @@ int talk_file_or_spell(const char *dirname, const char *filename,
return 0;
}
+#if CONFIG_CODEC == SWCODEC
/* Play a directory's .talk thumbnail, fallback to spelling the filename, or
go straight to spelling depending on settings. */
int talk_dir_or_spell(const char* dirname,
@@ -973,6 +974,7 @@ int talk_dir_or_spell(const char* dirname,
return talk_spell_basename(dirname, prefix_ids, enqueue);
return 0;
}
+#endif
/* say a numeric value, this word ordering works for english,
but not necessarily for other languages (e.g. german) */