Carbon


GetSpeechRate

Header: SpeechSynthesis.h Carbon status: Supported

Obtains a speech channel’s current speech rate.

OSErr GetSpeechRate (
    SpeechChannel chan, 
    Fixed *rate
);
Parameter descriptions
chan

The speech channel whose rate you wish to determine.

rate

On return, a pointer to the speech channel’s speech rate, expressed as a fixed-point, words-per-minute value.

function result

A result code.

SPECIAL CONSIDERATIONS

You can call the GetSpeechRate function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)