summaryrefslogtreecommitdiff
path: root/apps/talk.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-11-18 02:18:29 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-11-18 02:18:29 +0000
commitacc29d95be85c9cfd0d8f74dda813d7d1082e2ec (patch)
tree81fdd154d122b393d6254968cba5bc90b63e4741 /apps/talk.h
parente2a262ee258769136eadc58c2bc8e3aa53db1a71 (diff)
downloadrockbox-acc29d95be85c9cfd0d8f74dda813d7d1082e2ec.tar.gz
rockbox-acc29d95be85c9cfd0d8f74dda813d7d1082e2ec.zip
SWCODEC/IRAM: Save voice IRAM when a plugin initializes its IRAM. Defines two macros for declaring and initializing IRAM. Plugins should use these instead. See mp3_encoder, doom, etc. for details. Further tweaks in buffer restoration after other use. Hiding of some interfaces that should only be used by buffer management.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11544 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 bfd08354aa..4c1ef7c625 100644
--- a/apps/talk.h
+++ b/apps/talk.h
@@ -62,7 +62,9 @@ extern const char* const file_thumbnail_ext; /* ".talk" for file voicing */
62void talk_init(void); 62void talk_init(void);
63bool talk_voice_required(void); /* returns true if voice codec required */ 63bool talk_voice_required(void); /* returns true if voice codec required */
64int talk_get_bufsize(void); /* get the loaded voice file size */ 64int talk_get_bufsize(void); /* get the loaded voice file size */
65#if CONFIG_CODEC != SWCODEC
65int talk_buffer_steal(void); /* claim the mp3 buffer e.g. for play/record */ 66int talk_buffer_steal(void); /* claim the mp3 buffer e.g. for play/record */
67#endif
66int talk_id(long id, bool enqueue); /* play a voice ID from voicefont */ 68int talk_id(long id, bool enqueue); /* play a voice ID from voicefont */
67int talk_file(const char* filename, bool enqueue); /* play a thumbnail from file */ 69int talk_file(const char* filename, bool enqueue); /* play a thumbnail from file */
68int talk_number(long n, bool enqueue); /* say a number */ 70int talk_number(long n, bool enqueue); /* say a number */