OSDN Git Service
(root)
/
nvdajp
/
nvdajpmiscdep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
041f562
)
work around JTalk WindowsError ti34684
author
Takuya Nishimoto
<nishimotz@gmail.com>
Thu, 15 Jan 2015 15:01:10 +0000
(
00:01
+0900)
committer
Takuya Nishimoto
<nishimotz@gmail.com>
Thu, 15 Jan 2015 15:01:10 +0000
(
00:01
+0900)
source/synthDrivers/jtalk/jtalkCore.py
patch
|
blob
|
history
diff --git
a/source/synthDrivers/jtalk/jtalkCore.py
b/source/synthDrivers/jtalk/jtalkCore.py
index
f585b6b
..
2f66f2a
100644
(file)
--- a/
source/synthDrivers/jtalk/jtalkCore.py
+++ b/
source/synthDrivers/jtalk/jtalkCore.py
@@
-346,6
+346,9
@@
def libjt_synthesis(feature,
byte_count = ns * sizeof(c_short)
buf = string_at(speech_ptr, byte_count)
if feed_func_:
- feed_func_(buf)
+ try:
+ feed_func_(buf)
+ except WindowsError:
+ pass
if logwrite_ : logwrite_('libjt_synthesis done.')
return buf