Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 4 - Speech Manager / Speech Manager Reference
Data Structures


Legacy Documentclose button

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 the GetSpeechInfo and SetSpeechInfo 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. The SpeechXtndData 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 calling GetSpeechInfo or SetSpeechInfo.
synthData
Synthesizer-specific data. The size and format of the data in this field may vary.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996