Skip to content

AVFAudio watchOS xcode14.0 beta4

Manuel de la Pena edited this page Sep 6, 2022 · 2 revisions

#AVFAudio.framework ##mandel

diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioConverter.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioConverter.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioConverter.h	2022-06-30 09:31:48.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioConverter.h	2022-07-25 15:34:00.000000000 -0400
@@ -92,8 +92,10 @@
 	AVAudioConverterInputStatus_HaveData    = 0,
 	
 	/// If you are out of data for now, set *ioNumberOfPackets = 0 and return
-	// AVAudioConverterInputStatus_NoDataNow; the  conversion routine will return as much output as
-	// could be converted with the input already supplied.
+	/// AVAudioConverterInputStatus_NoDataNow; it is possible that some of the supplied input data
+	/// may not be converted to output immediately, but instead may be converted to output only
+	/// if/when more input is provided or the end-of-stream is indicated with the
+	/// AVAudioConverterInputStatus_EndOfStream status code.
 	AVAudioConverterInputStatus_NoDataNow   = 1,
 	
 	/// If you are at the end of stream, set *ioNumberOfPackets = 0 and return
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h	2022-06-30 09:31:47.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h	2022-07-25 15:33:59.000000000 -0400
@@ -407,13 +407,7 @@
 
     @var   AVAudioSessionInterruptionReasonAppWasSuspended
         The audio session was interrupted due to the app being suspended by the operating sytem.
-
-        Starting in iOS 10, the system will deactivate the audio session of most apps in response to the
-        app process being suspended. When the app starts running again, it will receive the notification
-        that its session has been deactivated by the system. Note that the notification is necessarily
-        delayed in time, due to the fact that the application was suspended at the time the session was
-        deactivated by the system and the notification can only be delivered once the app is running
-        again.
+		Deprecated. Interruption notifications with reason 'wasSuspended' not present from iOS 16 onwards.
 
     @var   AVAudioSessionInterruptionReasonBuiltInMicMuted
         The audio session was interrupted due to the built-in mic being muted e.g. due to an iPad's Smart Folio being closed.
@@ -421,7 +415,7 @@
  */
 typedef NS_ENUM(NSUInteger, AVAudioSessionInterruptionReason) {
     AVAudioSessionInterruptionReasonDefault         = 0,
-    AVAudioSessionInterruptionReasonAppWasSuspended = 1,
+    AVAudioSessionInterruptionReasonAppWasSuspended API_DEPRECATED("wasSuspended reason no longer present", ios(14.5, 16.0)) = 1,
     AVAudioSessionInterruptionReasonBuiltInMicMuted = 2
 } NS_SWIFT_NAME(AVAudioSession.InterruptionReason);
 
Clone this wiki locally