forked from enlightenment/efl
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:
parent
7078fc6fcd
commit
f950dd6e19
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue