[orca: 1/2] speech-dispatcher: log speech progression



commit 9b39b5339149d1f7f4e8d11018f3f2c69e27f216
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date:   Tue Jul 17 11:26:12 2018 +0200

    speech-dispatcher: log speech progression

 src/orca/speechdispatcherfactory.py | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/orca/speechdispatcherfactory.py b/src/orca/speechdispatcherfactory.py
index c6539e221..1924ba548 100644
--- a/src/orca/speechdispatcherfactory.py
+++ b/src/orca/speechdispatcherfactory.py
@@ -435,6 +435,8 @@ class SpeechServer(speechserver.SpeechServer):
                 if t == speechserver.SayAllContext.PROGRESS:
                     if index_mark:
                         context.currentOffset = int(index_mark)
+                        msg = "SPEECH DISPATCHER: Got mark %d" % context.currentOffset
+                        debug.println(debug.LEVEL_INFO, msg, True)
                     else:
                         context.currentOffset = context.startOffset
                 elif t == speechserver.SayAllContext.COMPLETED:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]