Important: Inside Macintosh: Sound is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.
Speech Extension Data Records
The speech extension data record allows you to use theGetSpeechInfo
andSetSpeechInfo
functions with selectors defined by particular synthesizers. By requiring that you pass to one of these functions a pointer to a speech extension data record, synthesizers can permit the exchange of data in any format. TheSpeechXtndData
data type defines a speech extension data record.
TYPE SpeechXtndData = RECORD synthCreator: OSType; {synthesizer creator ID} {data used by synthesizer} synthData: PACKED ARRAY[0..1] OF Char; END;
Field Description
synthCreator
- The synthesizer's creator ID, identical to the value stored in the
synthManufacturer
field of a speech version information record. You should set this field to the appropriate value before callingGetSpeechInfo
orSetSpeechInfo
.synthData
- Synthesizer-specific data. The size and format of the data in this field may vary.