diff options
Diffstat (limited to 'apps/talk.h')
-rw-r--r-- | apps/talk.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/talk.h b/apps/talk.h index 3070efc61a..c298476b0c 100644 --- a/apps/talk.h +++ b/apps/talk.h | |||
@@ -107,11 +107,11 @@ int talk_file(const char *root, const char *dir, const char *file, | |||
107 | /* play file's thumbnail or spell name */ | 107 | /* play file's thumbnail or spell name */ |
108 | int talk_file_or_spell(const char *dirname, const char* filename, | 108 | int talk_file_or_spell(const char *dirname, const char* filename, |
109 | const long *prefix_ids, bool enqueue); | 109 | const long *prefix_ids, bool enqueue); |
110 | #if CONFIG_CODEC == SWCODEC | 110 | |
111 | /* play dir's thumbnail or spell name */ | 111 | /* play dir's thumbnail or spell name */ |
112 | int talk_dir_or_spell(const char* filename, | 112 | int talk_dir_or_spell(const char* filename, |
113 | const long *prefix_ids, bool enqueue); | 113 | const long *prefix_ids, bool enqueue); |
114 | #endif | 114 | |
115 | /* play thumbnails for each components of full path, or spell */ | 115 | /* play thumbnails for each components of full path, or spell */ |
116 | int talk_fullpath(const char* path, bool enqueue); | 116 | int talk_fullpath(const char* path, bool enqueue); |
117 | int talk_number(long n, bool enqueue); /* say a number */ | 117 | int talk_number(long n, bool enqueue); /* say a number */ |
@@ -126,10 +126,8 @@ void talk_shutup(void); /* Interrupt voice, as when enqueue is false */ | |||
126 | /* helper function for speaking fractional numbers */ | 126 | /* helper function for speaking fractional numbers */ |
127 | void talk_fractional(char *tbuf, int value, int unit); | 127 | void talk_fractional(char *tbuf, int value, int unit); |
128 | 128 | ||
129 | #if CONFIG_RTC | ||
130 | void talk_time(const struct tm *tm, bool enqueue); | 129 | void talk_time(const struct tm *tm, bool enqueue); |
131 | void talk_date(const struct tm *tm, bool enqueue); | 130 | void talk_date(const struct tm *tm, bool enqueue); |
132 | #endif /* CONFIG_RTC */ | ||
133 | 131 | ||
134 | /* speaks hr, min, sec, ms; unit_idx is lowest or base unit of the time value */ | 132 | /* speaks hr, min, sec, ms; unit_idx is lowest or base unit of the time value */ |
135 | int talk_time_intervals(long time, int unit_idx, bool enqueue); | 133 | int talk_time_intervals(long time, int unit_idx, bool enqueue); |