summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-08-23 09:11:33 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-08-23 09:11:33 +0000
commit5981435013367cbcc673fbc23c6f46e15d0f90ea (patch)
treedf40b1b22f47aead0ea4d4968afbde5253d951e2 /src
parentc967137ddcccfdb4c17fe2b378a2a0464c256b0d (diff)
1. adjust voice to be slower and more clear
2. show how to set custom access text on a widget. SVN revision: 62716
Diffstat (limited to 'src')
-rw-r--r--src/bin/test_button.c1
-rw-r--r--src/modules/access_output/mod.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/test_button.c b/src/bin/test_button.c
index 42ee646c1..b8bebe19d 100644
--- a/src/bin/test_button.c
+++ b/src/bin/test_button.c
@@ -160,6 +160,7 @@ test_button(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
160 elm_icon_file_set(ic, buf, NULL); 160 elm_icon_file_set(ic, buf, NULL);
161 evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1); 161 evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
162 bt = elm_button_add(win); 162 bt = elm_button_add(win);
163 elm_widget_access_info_set(bt, "This is some custom text describing this widget");
163 elm_object_style_set(bt, "anchor"); 164 elm_object_style_set(bt, "anchor");
164 elm_button_icon_set(bt, ic); 165 elm_button_icon_set(bt, ic);
165 elm_object_disabled_set(bt, 1); 166 elm_object_disabled_set(bt, 1);
diff --git a/src/modules/access_output/mod.c b/src/modules/access_output/mod.c
index 024cce9a4..084bbc82e 100644
--- a/src/modules/access_output/mod.c
+++ b/src/modules/access_output/mod.c
@@ -84,8 +84,10 @@ out_read_done(void)
84 } 84 }
85 if (tmpf) 85 if (tmpf)
86 { 86 {
87 // FIXME: espeak supporets -v XX for voice locale. should provide this
88 // based on actual lang/locale
87 close(tmpfd); 89 close(tmpfd);
88 snprintf(buf, sizeof(buf), "espeak -m -a 20 -f %s", tmpf); 90 snprintf(buf, sizeof(buf), "espeak -p 2 -s 120 -k 10 -m -f %s", tmpf);
89 espeak = ecore_exe_pipe_run(buf, 91 espeak = ecore_exe_pipe_run(buf,
90 ECORE_EXE_NOT_LEADER, 92 ECORE_EXE_NOT_LEADER,
91 NULL); 93 NULL);