Asynchronous synthesis to file fails with SAPI 5 voice under C++Builder

Last reviewed: 2/25/2005

PRB Article ID: P020501

The information in this article applies to:

  • SpeechKit 4


Synthesizing text to a file asynchronously in a C++Builder application fails when using a SAPI 5 voice.


SAPI 5 doesn't support asynchronous streaming. To support asynchronous requests, the ChantTTS object attaches a thread to process the synthesis. The current thread attach process is handled by the ChantTTS queue manager recursively. The recursion results in nested threading conditions when multiple requests are queued that fails under some runtime environments.


ChantTTS queue manager recursion removed and dispatching queued requests now process on a common thread. Fixed in SpeechKit 4 build

Component Formats Impacted

All component formats.