summaryrefslogtreecommitdiffstats
path: root/apps/talk.c
diff options
context:
space:
mode:
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 a8805004d2..c22b70066e 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -542,6 +542,7 @@ void talk_init(void)
}
+#if CONFIG_CODEC == SWCODEC
/* return if a voice codec is required or not */
bool talk_voice_required(void)
{
@@ -549,6 +550,7 @@ bool talk_voice_required(void)
|| (global_settings.talk_dir == 3) /* Thumbnail clips are required */
|| (global_settings.talk_file == 3);
}
+#endif
/* return size of voice file */
int talk_get_bufsize(void)