Skip to content

SpeechSynthesis macOS xcode14.0 beta1

Manuel de la Pena edited this page Aug 4, 2022 · 3 revisions

#SpeechSynthesis.framework https://github.com/xamarin/xamarin-macios/pull/15627

diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h	2022-02-23 10:58:13.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h	2022-05-31 15:04:19.000000000 -0400
@@ -879,7 +879,7 @@
  *    Non-Carbon CFM:   available as macro/inline
  */
 extern SpeechTextDoneUPP
-NewSpeechTextDoneUPP(SpeechTextDoneProcPtr userRoutine)       AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+NewSpeechTextDoneUPP(SpeechTextDoneProcPtr userRoutine)       API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  NewSpeechDoneUPP()
@@ -890,7 +890,7 @@
  *    Non-Carbon CFM:   available as macro/inline
  */
 extern SpeechDoneUPP
-NewSpeechDoneUPP(SpeechDoneProcPtr userRoutine)               AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+NewSpeechDoneUPP(SpeechDoneProcPtr userRoutine)               API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  NewSpeechSyncUPP()
@@ -901,7 +901,7 @@
  *    Non-Carbon CFM:   available as macro/inline
  */
 extern SpeechSyncUPP
-NewSpeechSyncUPP(SpeechSyncProcPtr userRoutine)               AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+NewSpeechSyncUPP(SpeechSyncProcPtr userRoutine)               API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  NewSpeechErrorUPP()
@@ -912,7 +912,7 @@
  *    Non-Carbon CFM:   available as macro/inline
  */
 extern SpeechErrorUPP
-NewSpeechErrorUPP(SpeechErrorProcPtr userRoutine)             AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+NewSpeechErrorUPP(SpeechErrorProcPtr userRoutine)             API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  NewSpeechPhonemeUPP()
@@ -923,7 +923,7 @@
  *    Non-Carbon CFM:   available as macro/inline
  */
 extern SpeechPhonemeUPP
-NewSpeechPhonemeUPP(SpeechPhonemeProcPtr userRoutine)         AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+NewSpeechPhonemeUPP(SpeechPhonemeProcPtr userRoutine)         API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  NewSpeechWordUPP()
@@ -934,7 +934,7 @@
  *    Non-Carbon CFM:   available as macro/inline
  */
 extern SpeechWordUPP
-NewSpeechWordUPP(SpeechWordProcPtr userRoutine)               AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+NewSpeechWordUPP(SpeechWordProcPtr userRoutine)               API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  DisposeSpeechTextDoneUPP()
@@ -945,7 +945,7 @@
  *    Non-Carbon CFM:   available as macro/inline
  */
 extern void
-DisposeSpeechTextDoneUPP(SpeechTextDoneUPP userUPP)           AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+DisposeSpeechTextDoneUPP(SpeechTextDoneUPP userUPP)           API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  DisposeSpeechDoneUPP()
@@ -956,7 +956,7 @@
  *    Non-Carbon CFM:   available as macro/inline
  */
 extern void
-DisposeSpeechDoneUPP(SpeechDoneUPP userUPP)                   AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+DisposeSpeechDoneUPP(SpeechDoneUPP userUPP)                   API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  DisposeSpeechSyncUPP()
@@ -967,7 +967,7 @@
  *    Non-Carbon CFM:   available as macro/inline
  */
 extern void
-DisposeSpeechSyncUPP(SpeechSyncUPP userUPP)                   AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+DisposeSpeechSyncUPP(SpeechSyncUPP userUPP)                   API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  DisposeSpeechErrorUPP()
@@ -978,7 +978,7 @@
  *    Non-Carbon CFM:   available as macro/inline
  */
 extern void
-DisposeSpeechErrorUPP(SpeechErrorUPP userUPP)                 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+DisposeSpeechErrorUPP(SpeechErrorUPP userUPP)                 API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  DisposeSpeechPhonemeUPP()
@@ -989,7 +989,7 @@
  *    Non-Carbon CFM:   available as macro/inline
  */
 extern void
-DisposeSpeechPhonemeUPP(SpeechPhonemeUPP userUPP)             AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+DisposeSpeechPhonemeUPP(SpeechPhonemeUPP userUPP)             API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  DisposeSpeechWordUPP()
@@ -1000,7 +1000,7 @@
  *    Non-Carbon CFM:   available as macro/inline
  */
 extern void
-DisposeSpeechWordUPP(SpeechWordUPP userUPP)                   AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+DisposeSpeechWordUPP(SpeechWordUPP userUPP)                   API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  InvokeSpeechTextDoneUPP()
@@ -1017,7 +1017,7 @@
   const void * __nullable * __nullable  nextBuf,
   unsigned long *                       byteLen,
   SInt32 *                              controlFlags,
-  SpeechTextDoneUPP                     userUPP)              AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+  SpeechTextDoneUPP                     userUPP)              API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  InvokeSpeechDoneUPP()
@@ -1031,7 +1031,7 @@
 InvokeSpeechDoneUPP(
   SpeechChannel  chan,
   SRefCon        refCon,
-  SpeechDoneUPP  userUPP)                                     AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+  SpeechDoneUPP  userUPP)                                     API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  InvokeSpeechSyncUPP()
@@ -1046,7 +1046,7 @@
   SpeechChannel  chan,
   SRefCon        refCon,
   OSType         syncMessage,
-  SpeechSyncUPP  userUPP)                                     AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+  SpeechSyncUPP  userUPP)                                     API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  InvokeSpeechErrorUPP()
@@ -1062,7 +1062,7 @@
   SRefCon         refCon,
   OSErr           theError,
   long            bytePos,
-  SpeechErrorUPP  userUPP)                                    AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+  SpeechErrorUPP  userUPP)                                    API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  InvokeSpeechPhonemeUPP()
@@ -1077,7 +1077,7 @@
   SpeechChannel     chan,
   SRefCon           refCon,
   SInt16            phonemeOpcode,
-  SpeechPhonemeUPP  userUPP)                                  AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+  SpeechPhonemeUPP  userUPP)                                  API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 /*
  *  InvokeSpeechWordUPP()
@@ -1093,7 +1093,7 @@
   SRefCon        refCon,
   unsigned long  wordPos,
   UInt16         wordLen,
-  SpeechWordUPP  userUPP)                                     AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+  SpeechWordUPP  userUPP)                                     API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 #if __MACH__
   #ifdef __cplusplus
@@ -1149,7 +1149,7 @@
  *    Non-Carbon CFM:   in SpeechLib 1.0 and later
  */
 extern NumVersion 
-SpeechManagerVersion(void)                                    AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+SpeechManagerVersion(void)                                    API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1164,7 +1164,7 @@
 MakeVoiceSpec(
   OSType       creator,
   OSType       id,
-  VoiceSpec *  voice)                                         AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+  VoiceSpec *  voice)                                         API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1176,7 +1176,7 @@
  *    Non-Carbon CFM:   in SpeechLib 1.0 and later
  */
 extern OSErr 
-CountVoices(SInt16 * numVoices)                               AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+CountVoices(SInt16 * numVoices)                               API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1190,7 +1190,7 @@
 extern OSErr 
 GetIndVoice(
   SInt16       index,
-  VoiceSpec *  voice)                                         AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+  VoiceSpec *  voice)                                         API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1205,7 +1205,7 @@
 GetVoiceDescription(
   const VoiceSpec * __nullable  voice,
   VoiceDescription * __nullable info,
-  long                          infoLength)                   AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+  long                          infoLength)                   API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1220,7 +1220,7 @@
 GetVoiceInfo(
   const VoiceSpec * __nullable  voice,
   OSType                        selector,
-  void *                        voiceInfo)                    AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+  void *                        voiceInfo)                    API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1234,7 +1234,7 @@
 extern OSErr 
 NewSpeechChannel(
   VoiceSpec * __nullable                voice,
-  SpeechChannel __nullable * __nonnull  chan)                 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+  SpeechChannel __nullable * __nonnull  chan)                 API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1246,7 +1246,7 @@
  *    Non-Carbon CFM:   in SpeechLib 1.0 and later
  */
 extern OSErr 
-DisposeSpeechChannel(SpeechChannel chan)                      AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+DisposeSpeechChannel(SpeechChannel chan)                      API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1261,7 +1261,7 @@
  *    Non-Carbon CFM:   in SpeechLib 1.0 and later
  */
 extern OSErr 
-SpeakString(ConstStr255Param textToBeSpoken)                  AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+SpeakString(ConstStr255Param textToBeSpoken)                  API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 
 /*
@@ -1279,7 +1279,7 @@
 SpeakText(
   SpeechChannel   chan,
   const void *    textBuf,
-  unsigned long   textBytes)                                  AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+  unsigned long   textBytes)                                  API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 
 /*
@@ -1298,7 +1298,7 @@
   SpeechChannel   chan,
   const void *    textBuf,
   unsigned long   textBytes,
-  SInt32          controlFlags)                               AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+  SInt32          controlFlags)                               API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 
 /*
@@ -1310,7 +1310,7 @@
  *    Non-Carbon CFM:   in SpeechLib 1.0 and later
  */
 extern OSErr 
-StopSpeech(SpeechChannel chan)                                AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+StopSpeech(SpeechChannel chan)                                API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1324,7 +1324,7 @@
 extern OSErr 
 StopSpeechAt(
   SpeechChannel   chan,
-  SInt32          whereToStop)                                AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+  SInt32          whereToStop)                                API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1338,7 +1338,7 @@
 extern OSErr 
 PauseSpeechAt(
   SpeechChannel   chan,
-  SInt32          whereToPause)                               AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+  SInt32          whereToPause)                               API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1350,7 +1350,7 @@
  *    Non-Carbon CFM:   in SpeechLib 1.0 and later
  */
 extern OSErr 
-ContinueSpeech(SpeechChannel chan)                            AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+ContinueSpeech(SpeechChannel chan)                            API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1362,7 +1362,7 @@
  *    Non-Carbon CFM:   in SpeechLib 1.0 and later
  */
 extern SInt16 
-SpeechBusy(void)                                              AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+SpeechBusy(void)                                              API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1374,7 +1374,7 @@
  *    Non-Carbon CFM:   in SpeechLib 1.0 and later
  */
 extern SInt16 
-SpeechBusySystemWide(void)                                    AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+SpeechBusySystemWide(void)                                    API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1388,7 +1388,7 @@
 extern OSErr 
 SetSpeechRate(
   SpeechChannel   chan,
-  Fixed           rate)                                       AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+  Fixed           rate)                                       API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1402,7 +1402,7 @@
 extern OSErr 
 GetSpeechRate(
   SpeechChannel   chan,
-  Fixed *         rate)                                       AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+  Fixed *         rate)                                       API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1416,7 +1416,7 @@
 extern OSErr 
 SetSpeechPitch(
   SpeechChannel   chan,
-  Fixed           pitch)                                      AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+  Fixed           pitch)                                      API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1430,7 +1430,7 @@
 extern OSErr 
 GetSpeechPitch(
   SpeechChannel   chan,
-  Fixed *         pitch)                                      AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
+  Fixed *         pitch)                                      API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,13.0));
 
 
 /*
@@ -1448,7 +1448,7 @@
 SetSpeechInfo(
   SpeechChannel             chan,
   OSType                    selector,
-  const void * __nullable   speechInfo)                       AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+  const void * __nullable   speechInfo)                       API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 
 /*
@@ -1466,7 +1466,7 @@
 GetSpeechInfo(
   SpeechChannel   chan,
   OSType          selector,
-  void *          speechInfo)                                 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+  void *          speechInfo)                                 API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 
 /*
@@ -1486,7 +1486,7 @@
   const void *      textBuf,
   unsigned long     textBytes,
   Handle __nonnull  phonemeBuf,
-  long *            phonemeBytes)                             AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+  long *            phonemeBytes)                             API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 
 /*
@@ -1503,7 +1503,7 @@
 extern OSErr 
 UseDictionary(
   SpeechChannel     chan,
-  Handle __nonnull  dictionary)                               AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
+  Handle __nonnull  dictionary)                               API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.0,10.8));
 
 
 /* Replaces SpeakBuffer*/
@@ -1519,7 +1519,7 @@
 SpeakCFString(
   SpeechChannel               chan,
   CFStringRef                 aString,
-  CFDictionaryRef __nullable  options)                        AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+  CFDictionaryRef __nullable  options)                        API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.5,13.0));
 
 
 /* Replaces UseDictionary*/
@@ -1534,7 +1534,7 @@
 extern OSErr 
 UseSpeechDictionary(
   SpeechChannel     chan,
-  CFDictionaryRef   speechDictionary)                         AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+  CFDictionaryRef   speechDictionary)                         API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.5,13.0));
 
 
 /* Replaces TextToPhonemes*/
@@ -1550,7 +1550,7 @@
 CopyPhonemesFromText(
   SpeechChannel                       chan,
   CFStringRef                         text,
-  CFStringRef __nullable * __nonnull CF_RETURNS_RETAINED  phonemes)     AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+  CFStringRef __nullable * __nonnull CF_RETURNS_RETAINED  phonemes)     API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.5,13.0));
 
 
 /* Replaces GetSpeechInfo*/
@@ -1566,7 +1566,7 @@
 CopySpeechProperty(
   SpeechChannel                     chan,
   CFStringRef                       property,
-  CFTypeRef __nullable * __nonnull CF_RETURNS_RETAINED  object)         AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+  CFTypeRef __nullable * __nonnull CF_RETURNS_RETAINED  object)         API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.5,13.0));
 
 
 /* Replaces SetSpeechInfo*/
@@ -1582,7 +1582,7 @@
 SetSpeechProperty(
   SpeechChannel         chan,
   CFStringRef           property,
-  CFTypeRef __nullable  object)                               AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+  CFTypeRef __nullable  object)                               API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.5,13.0));
 
 
 /* Support loading and unloading synthesizers and voices from locations other than the standard directories.*/
@@ -1595,7 +1595,7 @@
  *    Non-Carbon CFM:   not available
  */
 extern OSErr 
-SpeechSynthesisRegisterModuleURL(CFURLRef url)                AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
+SpeechSynthesisRegisterModuleURL(CFURLRef url)                API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.6,13.0));
 
 
 /*
@@ -1607,7 +1607,7 @@
  *    Non-Carbon CFM:   not available
  */
 extern OSErr 
-SpeechSynthesisUnregisterModuleURL(CFURLRef url)              AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
+SpeechSynthesisUnregisterModuleURL(CFURLRef url)              API_DEPRECATED("Use AVSpeechSynthesizer in AVFoundation framework", macos(10.6,13.0));
 
 
 
Clone this wiki locally