From acbd78023965cce0b0499ff150caf8078cb33b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Tue, 20 Nov 2007 19:50:52 +0000 Subject: 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 --- apps/talk.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/talk.h') diff --git a/apps/talk.h b/apps/talk.h index adf4155..af74af6 100644 --- a/apps/talk.h +++ b/apps/talk.h @@ -25,6 +25,7 @@ #define __TALK_H__ #include +#include #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 */ -- cgit v1.1