summaryrefslogtreecommitdiff
path: root/apps/talk.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/talk.c')
-rw-r--r--apps/talk.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/talk.c b/apps/talk.c
index a7baf4927a..9b699a566d 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -347,6 +347,9 @@ void talk_force_shutup(void)
347{ 347{
348 /* Most of this is MAS only */ 348 /* Most of this is MAS only */
349#if CONFIG_CODEC != SWCODEC 349#if CONFIG_CODEC != SWCODEC
350#ifdef SIMULATOR
351 return;
352#endif
350 unsigned char* pos; 353 unsigned char* pos;
351 unsigned char* search; 354 unsigned char* search;
352 unsigned char* end; 355 unsigned char* end;
@@ -656,7 +659,7 @@ int talk_file(const char* filename, bool enqueue)
656 659
657 if (size != 0 && size != size_for_thumbnail) /* Don't play missing or truncated clips */ 660 if (size != 0 && size != size_for_thumbnail) /* Don't play missing or truncated clips */
658 { 661 {
659#if CONFIG_CODEC != SWCODEC 662#if CONFIG_CODEC != SWCODEC && !defined(SIMULATOR)
660 bitswap(p_thumbnail, size); 663 bitswap(p_thumbnail, size);
661#endif 664#endif
662 queue_clip(p_thumbnail, size, enqueue); 665 queue_clip(p_thumbnail, size, enqueue);