Function

SetSpeechProperty

Sets the value of the specified speech-channel property.

Declaration

OSErr SetSpeechProperty(SpeechChannel chan, CFStringRef property, CFTypeRef object);

Parameters

chan

The speech channel whose property to set.

property

The speech-channel property to set to the specified value.

object

The value to which the specified speech-channel property should be set. For some properties, this value can be NULL.

Return Value

A result code. See Result Codes.

Discussion

The SetSpeechProperty function is the Core Foundation-based equivalent of the SetSpeechInfo function.

See Speech-Channel Properties for information on the properties you can specify.

See Also

Changing Speech Attributes

SetSpeechInfo

Changes a setting of a particular speech channel.

Deprecated
SetSpeechPitch

Sets the speech pitch on a designated speech channel.

SetSpeechRate

Sets the speech rate of a designated speech channel.