summaryrefslogtreecommitdiffstats
path: root/apps/talk.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-11-15 19:32:15 +0000
committerNils Wallménius <nils@rockbox.org>2007-11-15 19:32:15 +0000
commitf801714572e4c2c6731682ed450f98242d26a767 (patch)
tree315d7e6b31456ea983a977c7ac4cf464d052c2bc /apps/talk.h
parentd3d0b26421bea28acc3f844a5b630d928083e9ec (diff)
downloadrockbox-f801714572e4c2c6731682ed450f98242d26a767.tar.gz
rockbox-f801714572e4c2c6731682ed450f98242d26a767.tar.bz2
rockbox-f801714572e4c2c6731682ed450f98242d26a767.zip
Actually check if a voice file has the correct version before using it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15629 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.h')
-rw-r--r--apps/talk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/talk.h b/apps/talk.h
index 8fe834cb09..fcb365be75 100644
--- a/apps/talk.h
+++ b/apps/talk.h
@@ -27,6 +27,8 @@
#include <stdbool.h>
#include "time.h"
+#define VOICE_VERSION 300 /* 3.00 - if you change this, change it in voicefont too */
+
enum {
/* See array "unit_voiced" in talk.c function "talk_value" */
UNIT_INT = 1, /* plain number */