summaryrefslogtreecommitdiffstats
path: root/apps/talk.h
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-10-21 18:34:48 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-10-21 18:34:48 +0000
commit40ae63b4fcf57da3f70e342230ef81cb3b903d4f (patch)
tree40133e9083584c0c24ea3cb0a54aedfac22a096a /apps/talk.h
parenta24bf1caef474d52687558244e93710b39b86a1e (diff)
downloadrockbox-40ae63b4fcf57da3f70e342230ef81cb3b903d4f.tar.gz
rockbox-40ae63b4fcf57da3f70e342230ef81cb3b903d4f.zip
Improvement for talking filenames: While loading the directory, already cache for which files are clips available. This avoids unsuccessful spinups while browsing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5317 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.h')
-rw-r--r--apps/talk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/talk.h b/apps/talk.h
index 09d71866b0..d07f955e67 100644
--- a/apps/talk.h
+++ b/apps/talk.h
@@ -54,9 +54,9 @@ enum {
/* convenience macro to have both virtual pointer and ID as arguments */
#define STR(id) ID2P(id), id
-/* publish this string, so it's stored only once (better than #define) */
+/* publish these strings, so they're stored only once (better than #define) */
extern const char* const dir_thumbnail_name; /* "_dirname.talk" */
-#define TALK_EXT ".talk" /* extra extension for file voicing */
+extern const char* const file_thumbnail_ext; /* ".talk" for file voicing */
void talk_init(void);
int talk_buffer_steal(void); /* claim the mp3 buffer e.g. for play/record */