summaryrefslogtreecommitdiffstats
path: root/apps/talk.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-11-28 15:00:56 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-11-28 15:00:56 +0000
commit97d1ca5a238b9fa676fd59cb81cb0ec9069a4ba9 (patch)
treecbb2526852c17dbeb2ad361a8362f36fd0ad693f /apps/talk.h
parent9be9767a49fea9b12ff0437acabb0ad0e30b3d52 (diff)
downloadrockbox-97d1ca5a238b9fa676fd59cb81cb0ec9069a4ba9.tar.gz
rockbox-97d1ca5a238b9fa676fd59cb81cb0ec9069a4ba9.tar.bz2
rockbox-97d1ca5a238b9fa676fd59cb81cb0ec9069a4ba9.zip
SWCODEC: Audio-related threads must be free of further tasks before returning buffers. Cleanup declarations of related functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11618 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.h')
-rw-r--r--apps/talk.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/talk.h b/apps/talk.h
index 4c1ef7c625..e863a3d25b 100644
--- a/apps/talk.h
+++ b/apps/talk.h
@@ -62,9 +62,8 @@ extern const char* const file_thumbnail_ext; /* ".talk" for file voicing */
void talk_init(void);
bool talk_voice_required(void); /* returns true if voice codec required */
int talk_get_bufsize(void); /* get the loaded voice file size */
-#if CONFIG_CODEC != SWCODEC
+/* talk_buffer_steal - on SWCODEC, for use by buffer functions only */
int talk_buffer_steal(void); /* claim the mp3 buffer e.g. for play/record */
-#endif
int talk_id(long 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 */