Gets the same information about a voice that the
Get function provides,
or to determine in which file and resource a voice is stored.
- macOS 10.0+
A pointer to the voice specification structure identifying the voice about which your application requires information, or
NULLto obtain information on the system default voice.
A specification of the type of data being requested. For current versions of the Speech Synthesis Manager, you should set this field either to
so, if you would like to use the
Getfunction to mimic the
Getfunction, or to
so, if you would like to obtain information about the location of a voice on disk.
A pointer to the appropriate data structure. If the selector is
voiceshould be a pointer to a voice description structure, and the
lengthfield of the structure should be set to the length of the voice description structure. If the selector is
voiceshould be a pointer to a voice file information structure.
A result code. See Result Codes.
This function is intended primarily for use by synthesizers, but an application can call it too.
accepts a selector in the
that determines the type of information you wish to obtain about
the voice specified in the
voice parameter. The
function then fills the fields of the data structure appropriate
to the selector you specify in the
If the voice specification is invalid,
If there is not enough memory to load the voice into memory to obtain
information about it,
the result code