-
Notifications
You must be signed in to change notification settings - Fork 549
MediaToolbox iOS xcode16.0 b1
Rolf Bjarne Kvinge edited this page Jun 18, 2024
·
2 revisions
#MediaToolbox.framework
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h 2024-04-17 07:57:04
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h 2024-05-30 11:08:53
@@ -23,7 +23,7 @@
typedef const struct CM_BRIDGED_TYPE(id) opaqueMTAudioProcessingTap *MTAudioProcessingTapRef CM_SWIFT_NONSENDABLE; // CFType, retain/release please
-MT_EXPORT CFTypeID MTAudioProcessingTapGetTypeID(void) __OSX_AVAILABLE_STARTING(__MAC_10_9,__IPHONE_6_0);
+MT_EXPORT CFTypeID MTAudioProcessingTapGetTypeID(void) API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@enum MTAudioProcessingTapCreationFlags
@@ -293,7 +293,7 @@
MTAudioProcessingTapPrepareCallback CM_NULLABLE prepare;
MTAudioProcessingTapUnprepareCallback CM_NULLABLE unprepare;
MTAudioProcessingTapProcessCallback CM_NONNULL process;
-} MTAudioProcessingTapCallbacks CM_SWIFT_NONSENDABLE;
+} MTAudioProcessingTapCallbacks API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos) CM_SWIFT_NONSENDABLE;
/*!
@function MTAudioProcessingTapCreate
@@ -323,7 +323,7 @@
CFAllocatorRef CM_NULLABLE allocator,
const MTAudioProcessingTapCallbacks * CM_NONNULL callbacks,
MTAudioProcessingTapCreationFlags flags,
- MTAudioProcessingTapRef CM_NULLABLE * CM_NONNULL tapOut) __OSX_AVAILABLE_STARTING(__MAC_10_9,__IPHONE_6_0);
+ MTAudioProcessingTapRef CM_NULLABLE * CM_NONNULL tapOut) API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@function MTAudioProcessingTapGetStorage
@@ -334,7 +334,7 @@
@result The tapStorage returned by the init callback.
*/
-MT_EXPORT void* CM_NONNULL MTAudioProcessingTapGetStorage(CM_NONNULL MTAudioProcessingTapRef tap) __OSX_AVAILABLE_STARTING(__MAC_10_9,__IPHONE_6_0);
+MT_EXPORT void* CM_NONNULL MTAudioProcessingTapGetStorage(CM_NONNULL MTAudioProcessingTapRef tap) API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@function MTAudioProcessingTapGetSourceAudio
@@ -369,7 +369,7 @@
AudioBufferList * CM_NONNULL bufferListInOut,
MTAudioProcessingTapFlags * CM_NULLABLE flagsOut,
CMTimeRange * CM_NULLABLE timeRangeOut,
- CMItemCount * CM_NULLABLE numberFramesOut) __OSX_AVAILABLE_STARTING(__MAC_10_9,__IPHONE_6_0);
+ CMItemCount * CM_NULLABLE numberFramesOut) API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
#pragma pack(pop)
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTFormatNames.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTFormatNames.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTFormatNames.h 2024-04-17 07:57:04
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTFormatNames.h 2024-05-30 11:08:53
@@ -19,9 +19,9 @@
#pragma pack(push, 4)
-MT_EXPORT CFStringRef CM_RETURNS_RETAINED CM_NULLABLE MTCopyLocalizedNameForMediaType( CMMediaType mediaType );
+MT_EXPORT CFStringRef CM_RETURNS_RETAINED CM_NULLABLE MTCopyLocalizedNameForMediaType( CMMediaType mediaType ) API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
-MT_EXPORT CFStringRef CM_RETURNS_RETAINED CM_NULLABLE MTCopyLocalizedNameForMediaSubType( CMMediaType mediaType, FourCharCode mediaSubType );
+MT_EXPORT CFStringRef CM_RETURNS_RETAINED CM_NULLABLE MTCopyLocalizedNameForMediaSubType( CMMediaType mediaType, FourCharCode mediaSubType ) API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
#pragma pack(pop)
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTProfessionalVideoWorkflow.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTProfessionalVideoWorkflow.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTProfessionalVideoWorkflow.h 2024-04-17 07:57:05
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTProfessionalVideoWorkflow.h 2024-05-30 11:08:53
@@ -24,10 +24,10 @@
/*!
@function MTRegisterProfessionalVideoWorkflowFormatReaders
- @abstract Allows the client to use file format readers appropriate for professional video workflows.
- @discussion By convention, format readers registered using this function should conform to the abstract UTType of "com.apple.mediaextension-content" which in turn conforms to the abstract type "public.movie". Applications calling this function can use the type "com.apple.mediaextension-content" to do type filtering (e.g. in Open... dialogs).
+ @abstract Allows the client to use media format readers appropriate for professional video workflows.
+ @discussion By calling this function, a client indicates to MediaToolbox that it wishes to support Media Extension format readers. Note that this functionality is intended for applications supporting professional video workflows. It is not recommended for network-facing applications such as web browsers, messaging clients, mail clients, etc. By convention, format readers registered using this function should conform to the abstract UTType of "com.apple.mediaextension-content" which in turn conforms to the abstract type "public.movie". Clients can use the type "com.apple.mediaextension-content" to do type filtering (e.g. in Open... dialogs).
*/
-MT_EXPORT void MTRegisterProfessionalVideoWorkflowFormatReaders( void ) __OSX_AVAILABLE_STARTING(__MAC_10_10,__IPHONE_NA);
+MT_EXPORT void MTRegisterProfessionalVideoWorkflowFormatReaders( void ) API_AVAILABLE(macos(10.10)) API_UNAVAILABLE(ios, tvos, watchos, visionos);
#pragma pack(pop)