summaryrefslogtreecommitdiffstats
path: root/apps/talk.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-10-30 09:45:26 -0400
committerSolomon Peachy <pizza@shaftnet.org>2018-12-15 18:00:23 +0100
commit4adad0bc1f508360999de176048f89025ce84b3e (patch)
tree46fed2ec12b60df2d94ba54950c2da798aa9445a /apps/talk.h
parentf061330c3d7b17cc770a8eb2c699b5e44995ad1e (diff)
downloadrockbox-4adad0bc1f508360999de176048f89025ce84b3e.tar.gz
rockbox-4adad0bc1f508360999de176048f89025ce84b3e.tar.bz2
rockbox-4adad0bc1f508360999de176048f89025ce84b3e.zip
FS#6323: Speech for ID3 viewer, playlist catalog and playlist viewer
Modified from original ticket, Taken from Igor Poretsky's tree, and further modified by myself to incorporate feedback. Change-Id: Ibc2180e52af76890b1448d23f79386fd0f88f709
Diffstat (limited to 'apps/talk.h')
-rw-r--r--apps/talk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/talk.h b/apps/talk.h
index 5ffc9ae5e6..c77c32e06f 100644
--- a/apps/talk.h
+++ b/apps/talk.h
@@ -51,6 +51,7 @@ enum {
UNIT_KBIT, /* kilobits per sec */
UNIT_PM_TICK, /* peak meter units per tick */
UNIT_TIME, /* time duration/interval in seconds, says hours,mins,secs */
+ UNIT_DATEYEAR,/* for 1999 say nineteen ninety nine */
UNIT_LAST /* END MARKER */
};
@@ -111,6 +112,8 @@ int talk_file_or_spell(const char *dirname, const char* filename,
int talk_dir_or_spell(const char* filename,
const long *prefix_ids, bool enqueue);
#endif
+/* play thumbnails for each components of full path, or spell */
+int talk_fullpath(const char* path, bool enqueue);
int talk_number(long n, bool enqueue); /* say a number */
int talk_value(long n, int unit, bool enqueue); /* say a numeric value */
int talk_value_decimal(long n, int unit, int decimals, bool enqueue);