Unregisters a registered speech synthesizer or voice.
- macOS 10.6+
The file URL of the synthesizer plug-in or voice to unregister.
A result code. See Result Codes.
Speech function unregisters the speech synthesizer or voice specified by
url. When a synthesizer is unregistered, all voices that require that synthesizer are automatically unregistered.
Note that if a speech channel is currently using a synthesizer or voice that becomes unregistered, the speech channel is considered inactive and will return an error when the application tries to access it.
An application that called
Speech to register a synthesizer or voice should do the following if the volume containing the synthesizer or voice is about to be unmounted:
Disposeto dispose of each speech channel that uses the synthesizer or voice
Speechto unregister the synthesizer or voice
Synthesis Unregister Module URL
If you call
Speech to unregister a synthesizer or voice and you receive either the
voice result codes, it means that the synthesizer or voice is not currently registered.