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

Last reviewed: 2/25/2005

PRB Article ID: P020501

The information in this article applies to:

  • SpeechKit 4

Symptoms

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

Cause

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.

Status

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

Component Formats Impacted

All component formats.