Callbacks


Installing a Pronunciation Dictionary

SpeechDoneProcPtr Defines a pointer to a speech-done callback function. Your speech-done function is called when the Speech Manager finishes speaking a buffer of text.
SpeechErrorProcPtr Defines an error callback function. Your error function handles syntax errors within commands embedded in a text buffer being processed by the Speech Manager.
SpeechPhonemeProcPtr Defines a phoneme callback function. Your phoneme function is called by the Speech manager before it pronounces a phoneme.
SpeechSyncProcPtr Defines a pointer to a synchronization callback function. Your synchronization function is called when the Speech Manager encounters a synchronization command embedded in a text buffer.
SpeechTextDoneProcPtr Defines a pointer to a text-done callback function. Your text-done function is called when the Speech Manager has finished processing a buffer of text.
SpeechWordProcPtr Defines a pointer to a word callback function. Your word function is called by the Speech Manager before it pronounces a word.

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