Structure

SpeechStatusInfo

Defines a a speech status information structure, which stores information about the status of a speech channel.

Declaration

typedef struct SpeechStatusInfo {
    ...
} SpeechStatusInfo;

Overview

By calling the GetSpeechInfo function with the soStatus selector, you can find out information about the status of a speech channel.

Topics

Instance Properties

inputBytesLeft

The number of input bytes of the text that the speech channel must still process. When inputBytesLeft is 0, the buffer of input text passed to one of the SpeakText or SpeakBuffer functions may be disposed of. When you call the SpeakString function, the Speech Synthesis Manager stores a duplicate of the string to be spoken in an internal buffer; thus, you may delete the original string immediately after calling SpeakString.

outputBusy

Whether the speech channel is currently producing speech. A speech channel is considered to be producing speech even at some times when no audio data is being produced through the Macintosh speaker. This occurs, for example, when the Speech Synthesis Manager is processing an input buffer but has not yet initiated speech or when speech output is paused.

outputPaused

Whether speech output in the speech channel has been paused by a call to the PauseSpeechAt function.

phonemeCode

The opcode for the phoneme that the speech channel is currently processing.