1. adjust voice to be slower and more clear

2. show how to set custom access text on a widget.



SVN revision: 62716
This commit is contained in:
Carsten Haitzler 2011-08-23 09:11:33 +00:00
parent 7078fc6fcd
commit f950dd6e19
2 changed files with 4 additions and 1 deletions

View File

@ -160,6 +160,7 @@ test_button(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
elm_icon_file_set(ic, buf, NULL);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
bt = elm_button_add(win);
elm_widget_access_info_set(bt, "This is some custom text describing this widget");
elm_object_style_set(bt, "anchor");
elm_button_icon_set(bt, ic);
elm_object_disabled_set(bt, 1);

View File

@ -84,8 +84,10 @@ out_read_done(void)
}
if (tmpf)
{
// FIXME: espeak supporets -v XX for voice locale. should provide this
// based on actual lang/locale
close(tmpfd);
snprintf(buf, sizeof(buf), "espeak -m -a 20 -f %s", tmpf);
snprintf(buf, sizeof(buf), "espeak -p 2 -s 120 -k 10 -m -f %s", tmpf);
espeak = ecore_exe_pipe_run(buf,
ECORE_EXE_NOT_LEADER,
NULL);