Skip to content

AVFAudio iOS xcode26.0 b5

Alex Soto edited this page Aug 5, 2025 · 1 revision

#AVFAudio.framework

diff -ruN /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h
--- /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h	2025-07-09 21:34:33
+++ /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h	2025-07-24 01:49:47
@@ -253,6 +253,13 @@
 */
 @property (nonatomic, readonly, nullable) AudioStreamPacketDescription *packetDescriptions;
 
+/*! @property packetDependencies
+	@abstract Access the buffer's array of packet dependencies, if any.
+	@discussion
+		If the format doesn't employ packet dependencies, this will be nil.
+*/
+@property (nonatomic, readonly, nullable) AudioStreamPacketDependencyDescription *packetDependencies NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(26.0), ios(26.0), watchos(26.0), tvos(26.0), visionos(26.0));
+
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioConverter.h /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioConverter.h
--- /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioConverter.h	2025-07-09 10:45:28
+++ /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioConverter.h	2025-07-24 05:25:46
@@ -7,6 +7,7 @@
 
 #import <AVFAudio/AVAudioFormat.h>
 #import <AVFAudio/AVAudioBuffer.h>
+#import <AVFAudio/AVAudioSettings.h>
 
 NS_ASSUME_NONNULL_BEGIN
 
@@ -239,6 +240,34 @@
     @abstract	Indicates the the number of priming frames.
 */
 @property (nonatomic) AVAudioConverterPrimeInfo primeInfo;
+
+/*! @property	audioSyncPacketFrequency
+    @abstract	Number of packets between consecutive sync packets.
+    @discussion
+		A sync packet is an independently-decodable packet that completely refreshes the decoder without
+		needing to decode other packets.  When compressing to a format which supports it (such as APAC),
+		the audio sync packet frequency indicates the distance in packets between two sync packets, with
+		non-sync packets between.  This is useful to set when saving compressed packets to a file and
+		efficient random access is desired.  Note: Separating sync packets by at least one second of
+		encoded audio (e.g. 75 packets) is recommended.
+*/
+@property (nonatomic) NSInteger audioSyncPacketFrequency API_AVAILABLE(macos(26.0), ios(26.0), watchos(26.0), tvos(26.0), visionos(26.0));
+
+/*! @property	contentSource
+    @abstract	Index to select a pre-defined content source type that describes the content type and
+    			how it was generated.  Note: This is only supported when compressing audio to formats
+    			which support it.
+*/
+@property (nonatomic) AVAudioContentSource contentSource API_AVAILABLE(macos(26.0), ios(26.0), watchos(26.0), tvos(26.0), visionos(26.0));
+
+/*! @property	dynamicRangeControlConfiguration
+    @abstract	Encoder Dynamic Range Control (DRC) configuration.
+    @discussion
+		When supported by the encoder, this property controls which configuration is applied when a
+		bitstream is generated.  Note: This is only supported when compressing audio to formats
+		which support it.
+*/
+@property (nonatomic) AVAudioDynamicRangeControlConfiguration dynamicRangeControlConfiguration API_AVAILABLE(macos(26.0), ios(26.0), watchos(26.0), tvos(26.0), visionos(26.0));
 
 
 /*! @method convertToBuffer:fromBuffer:error:
Clone this wiki locally