Fix to ibmtts.c for Ubuntu Lucid x64
Bill Cox
waywardgeek at gmail.com
Mon May 10 10:47:55 UTC 2010
I've figured out how to make voxin work on Ubuntu Lucid x64. I don't
understand why the fix works, but here it is: Just delete the "DBG"
statement from the module_audio_init function in src/modules/ibmtts.c
in the speech-dispatcher package. Recompile speech-dispatcher on a 32
bit machine, with voxin already installed, and it will create a new
sd_ibmtts file that works in Lucid x64. Copy that to your 64-bit
machine at /usr/lib/speech-dispatcher-modules/sd_ibmtts. I've
attached the diff file, which is a one line delete.
I don't understand why this make sd_ibmtts work on Lucid x64. I did
read that ctime is not thread safe, and that may have something to do
with it. It may also be interacting with an odd optimization bug.
More likely, something else is trashing a bit of memory. To cause the
bug to occur, you only need three lines from the DBG macro at the top
of module_audio_init:
if (Debug){
time_t t = time(NULL);
ctime(&t));
}
Bill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ibmtts.c.diff
Type: text/x-patch
Size: 246 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-accessibility/attachments/20100510/338a59c4/attachment.bin>
More information about the Ubuntu-accessibility
mailing list