diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-11-18 02:18:29 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-11-18 02:18:29 +0000 |
commit | acc29d95be85c9cfd0d8f74dda813d7d1082e2ec (patch) | |
tree | 81fdd154d122b393d6254968cba5bc90b63e4741 /apps/talk.h | |
parent | e2a262ee258769136eadc58c2bc8e3aa53db1a71 (diff) | |
download | rockbox-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.h | 2 |
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 */ | |||
62 | void talk_init(void); | 62 | void talk_init(void); |
63 | bool talk_voice_required(void); /* returns true if voice codec required */ | 63 | bool talk_voice_required(void); /* returns true if voice codec required */ |
64 | int talk_get_bufsize(void); /* get the loaded voice file size */ | 64 | int talk_get_bufsize(void); /* get the loaded voice file size */ |
65 | #if CONFIG_CODEC != SWCODEC | ||
65 | int talk_buffer_steal(void); /* claim the mp3 buffer e.g. for play/record */ | 66 | int talk_buffer_steal(void); /* claim the mp3 buffer e.g. for play/record */ |
67 | #endif | ||
66 | int talk_id(long id, bool enqueue); /* play a voice ID from voicefont */ | 68 | int talk_id(long id, bool enqueue); /* play a voice ID from voicefont */ |
67 | int talk_file(const char* filename, bool enqueue); /* play a thumbnail from file */ | 69 | int talk_file(const char* filename, bool enqueue); /* play a thumbnail from file */ |
68 | int talk_number(long n, bool enqueue); /* say a number */ | 70 | int talk_number(long n, bool enqueue); /* say a number */ |