summaryrefslogtreecommitdiff
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.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 {
51 UNIT_KBIT, /* kilobits per sec */ 51 UNIT_KBIT, /* kilobits per sec */
52 UNIT_PM_TICK, /* peak meter units per tick */ 52 UNIT_PM_TICK, /* peak meter units per tick */
53 UNIT_TIME, /* time duration/interval in seconds, says hours,mins,secs */ 53 UNIT_TIME, /* time duration/interval in seconds, says hours,mins,secs */
54 UNIT_DATEYEAR,/* for 1999 say nineteen ninety nine */
54 UNIT_LAST /* END MARKER */ 55 UNIT_LAST /* END MARKER */
55}; 56};
56 57
@@ -111,6 +112,8 @@ int talk_file_or_spell(const char *dirname, const char* filename,
111int talk_dir_or_spell(const char* filename, 112int talk_dir_or_spell(const char* filename,
112 const long *prefix_ids, bool enqueue); 113 const long *prefix_ids, bool enqueue);
113#endif 114#endif
115/* play thumbnails for each components of full path, or spell */
116int talk_fullpath(const char* path, bool enqueue);
114int talk_number(long n, bool enqueue); /* say a number */ 117int talk_number(long n, bool enqueue); /* say a number */
115int talk_value(long n, int unit, bool enqueue); /* say a numeric value */ 118int talk_value(long n, int unit, bool enqueue); /* say a numeric value */
116int talk_value_decimal(long n, int unit, int decimals, bool enqueue); 119int talk_value_decimal(long n, int unit, int decimals, bool enqueue);