[Kde-accessibility] KTTSD does not speak, no way to debug

Robert Vogl voglrobe at web.de
Sat Jul 31 16:13:57 CEST 2004


Am Samstag, 31. Juli 2004 01:18 schrieb Gary Cramblitt:
> On Friday 30 July 2004 02:38 pm, Robert Vogl wrote:
> > Hi Gary,
>
> Thank you Robert.
>
> I believe the following code in hadifaxspeech.cpp isn't working for you
> because the Hadifax plugin never receives the processExited signal:
>
> void HadifaxSpeech::processExited(KProcess *) {
>    }
> }

> Why it doesn't work for you, but does work for me and others is a mystery. 

I think the whole KDE-Multimedia stuff is a mystery. In particular if you try 
to run it in threads. I think most of that KDE stuff is not thread-save. I 
also had to make some modifications in KSayIt and it seems to me I found a 
reliable solution now. I can send you the code, if you are interested. 

> It probably has something to do with the plugin running from a worker
> QThread (speaker.cpp).   What version of KDE and Qt are you running?

KDE 3.2.1, QT 3.2.1.

>   1.  Plugins no longer need to audibilize the speech.  They need only
> create a wave file from the text.

How's the handling of those wave files? It should be avoided to blow up the /
tmp/-dir with terrabytes of old wave files from KTTSD. 

Greetings,

-- 
Robert Vogl
voglrobe at web.de


More information about the kde-accessibility mailing list