Sets the fields of a voice specification structure.
- macOS 10.0+
The ID of the synthesizer that your application requires.
The ID of the voice on the synthesizer specified by the
A pointer to the voice specification structure whose fields are to be filled in.
A result code. See Result Codes.
A voice specification structure is a unique voice ID used
by the Speech Synthesis Manager. Most voice management functions
expect to be passed a pointer to a voice specification structure.
When you already know the creator and ID for a voice, you should
to create such a structure rather than filling in the fields of
one directly. On exit, the voice specification structure pointed
to by the
voice parameter contains
the appropriate values. You should never set the fields of such
a structure directly.