summaryrefslogtreecommitdiffstats
path: root/apps/talk.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-11-20 19:50:52 +0000
committerNils Wallménius <nils@rockbox.org>2007-11-20 19:50:52 +0000
commitacbd78023965cce0b0499ff150caf8078cb33b58 (patch)
tree5da45c3ae17f0ec27b5057910feec68ff35ec377 /apps/talk.h
parentade8ae9acbcaaf2a61fed00160f6c46aba052c16 (diff)
downloadrockbox-acbd78023965cce0b0499ff150caf8078cb33b58.tar.gz
rockbox-acbd78023965cce0b0499ff150caf8078cb33b58.tar.bz2
rockbox-acbd78023965cce0b0499ff150caf8078cb33b58.zip
Make id's created with the TALK_ID macro work in 64 bit sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15723 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.h')
-rw-r--r--apps/talk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/talk.h b/apps/talk.h
index adf4155836..af74af6edd 100644
--- a/apps/talk.h
+++ b/apps/talk.h
@@ -25,6 +25,7 @@
#define __TALK_H__
#include <stdbool.h>
+#include <inttypes.h>
#include "time.h"
#define VOICE_VERSION 400 /* 4.00 - if you change this, change it in voicefont too */
@@ -72,7 +73,7 @@ bool talk_voice_required(void); /* returns true if voice codec required */
int talk_get_bufsize(void); /* get the loaded voice file size */
void talk_buffer_steal(void); /* claim the mp3 buffer e.g. for play/record */
bool is_voice_queued(void); /* Are there more voice clips to be spoken? */
-int talk_id(long id, bool enqueue); /* play a voice ID from voicefont */
+int talk_id(int32_t id, bool enqueue); /* play a voice ID from voicefont */
int talk_file(const char* filename, bool enqueue); /* play a thumbnail from file */
int talk_number(long n, bool enqueue); /* say a number */
int talk_value(long n, int unit, bool enqueue); /* say a numeric value */