diff options
Diffstat (limited to 'apps/talk.c')
-rw-r--r-- | apps/talk.c | 2 |
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) | |||
542 | 542 | ||
543 | } | 543 | } |
544 | 544 | ||
545 | #if CONFIG_CODEC == SWCODEC | ||
545 | /* return if a voice codec is required or not */ | 546 | /* return if a voice codec is required or not */ |
546 | bool talk_voice_required(void) | 547 | bool talk_voice_required(void) |
547 | { | 548 | { |
@@ -549,6 +550,7 @@ bool talk_voice_required(void) | |||
549 | || (global_settings.talk_dir == 3) /* Thumbnail clips are required */ | 550 | || (global_settings.talk_dir == 3) /* Thumbnail clips are required */ |
550 | || (global_settings.talk_file == 3); | 551 | || (global_settings.talk_file == 3); |
551 | } | 552 | } |
553 | #endif | ||
552 | 554 | ||
553 | /* return size of voice file */ | 555 | /* return size of voice file */ |
554 | int talk_get_bufsize(void) | 556 | int talk_get_bufsize(void) |