Skip to content

CoreMedia watchOS xcode13.0 beta4

Manuel de la Pena edited this page Sep 20, 2021 · 3 revisions

#CoreMedia.framework https://github.com/xamarin/xamarin-macios/pull/12770

diff -ruN /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBufferQueue.h /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBufferQueue.h
--- /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBufferQueue.h	2021-07-10 09:47:03.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBufferQueue.h	2021-07-23 13:32:18.000000000 -0400
@@ -237,42 +237,33 @@
 				CMBuffer.  Durations must always be positive.
 */
 typedef struct {
-	uint32_t					version;						/*! @field version
-																	Must be 0 or 1. */
-	void * CM_NULLABLE refcon;									/*! @field refcon
-																	Client refcon to be passed to all callbacks (can be NULL,
+	uint32_t					version;						/*!< Must be 0 or 1. */
+	void * CM_NULLABLE refcon;									/*!< Client refcon to be passed to all callbacks (can be NULL,
 																	if the callbacks don't require it). */
-	CMBufferGetTimeCallback CM_NULLABLE		getDecodeTimeStamp;	/*! @field getDecodeTimeStamp
-																	This callback is called from CMBufferQueueGetFirstDecodeTimeStamp (once),
+	CMBufferGetTimeCallback CM_NULLABLE		getDecodeTimeStamp;	/*!< This callback is called from CMBufferQueueGetFirstDecodeTimeStamp (once),
 																	and from CMBufferQueueGetMinDecodeTimeStamp (multiple times).  It should
 																	return the decode timestamp of the buffer.  If there are multiple samples
 																	in the buffer, this callback should return the minimum decode timestamp
 																	in the buffer. Can be NULL (CMBufferQueueGetFirstDecodeTimeStamp and
 																	CMBufferQueueGetMinDecodeTimeStamp will return kCMTimeInvalid). */
-	CMBufferGetTimeCallback CM_NULLABLE getPresentationTimeStamp;/*! @field getPresentationTimeStamp
-																	This callback is called from CMBufferQueueGetFirstPresentationTimeStamp
+	CMBufferGetTimeCallback CM_NULLABLE getPresentationTimeStamp;/*!< This callback is called from CMBufferQueueGetFirstPresentationTimeStamp
 																	(once) and from CMBufferQueueGetMinPresentationTimeStamp (multiple times).
 																	It should return the presentation timestamp of the buffer.  If there are
 																	multiple samples in the buffer, this callback should return the minimum
 																	presentation timestamp in the buffer. Can be NULL
 																	(CMBufferQueueGetFirstPresentationTimeStamp and
 																	CMBufferQueueGetMinPresentationTimeStamp will return kCMTimeInvalid). */
-	CMBufferGetTimeCallback CM_NONNULL getDuration;				/*! @field getDuration
-																	This callback is called (once) during enqueue and dequeue operations to
+	CMBufferGetTimeCallback CM_NONNULL getDuration;				/*!< This callback is called (once) during enqueue and dequeue operations to
 																	update the total duration of the queue.  Must not be NULL. */
-	CMBufferGetBooleanCallback CM_NULLABLE isDataReady;			/*! @field isDataReady
-																	This callback is called from CMBufferQueueDequeueIfDataReadyAndRetain, to
+	CMBufferGetBooleanCallback CM_NULLABLE isDataReady;			/*!< This callback is called from CMBufferQueueDequeueIfDataReadyAndRetain, to
 																	ask if the buffer that is about to be dequeued is ready.  Can be NULL
 																	(data will be assumed to be ready). */
-	CMBufferCompareCallback CM_NULLABLE compare;				/*! @field compare
-																	This callback is called (multiple times) from CMBufferQueueEnqueue, to
+	CMBufferCompareCallback CM_NULLABLE compare;				/*!< This callback is called (multiple times) from CMBufferQueueEnqueue, to
 																	perform an insertion sort. Can be NULL (queue will be FIFO). */
-	CFStringRef CM_NULLABLE dataBecameReadyNotification;		/*! @field dataBecameReadyNotification
-																	If triggers of type kCMBufferQueueTrigger_WhenDataBecomesReady are installed,
+	CFStringRef CM_NULLABLE dataBecameReadyNotification;		/*!< If triggers of type kCMBufferQueueTrigger_WhenDataBecomesReady are installed,
 																	the queue will listen for this notification on the head buffer. 
 																	Can be NULL (then the queue won't listen for it). */
-	CMBufferGetSizeCallback CM_NULLABLE getSize;				/*! @field getSize
-																	This callback is called (once) during enqueue and dequeue operation to
+	CMBufferGetSizeCallback CM_NULLABLE getSize;				/*!< This callback is called (once) during enqueue and dequeue operation to
 																	update the total size of the queue. Can be NULL.  Ignored if version < 1. */
 } CMBufferCallbacks API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
 
@@ -280,39 +271,31 @@
 #pragma pack(push)
 #pragma pack()
 typedef struct {
-	uintptr_t version;											/*! @field version
-																	Must be 1. */
-	CMBufferGetTimeHandler CM_NULLABLE getDecodeTimeStamp;		/*! @field getDecodeTimeStamp
-																	This block is called from CMBufferQueueGetFirstDecodeTimeStamp (once),
+	uintptr_t version;											/*!< Must be 1. */
+	CMBufferGetTimeHandler CM_NULLABLE getDecodeTimeStamp;		/*!< This block is called from CMBufferQueueGetFirstDecodeTimeStamp (once),
 																	and from CMBufferQueueGetMinDecodeTimeStamp (multiple times).  It should
 																	return the decode timestamp of the buffer.  If there are multiple samples
 																	in the buffer, this block should return the minimum decode timestamp
 																	in the buffer. Can be NULL (CMBufferQueueGetFirstDecodeTimeStamp and
 																	CMBufferQueueGetMinDecodeTimeStamp will return kCMTimeInvalid). */
-	CMBufferGetTimeHandler CM_NULLABLE getPresentationTimeStamp;/*! @field getPresentationTimeStamp
-																	This block is called from CMBufferQueueGetFirstPresentationTimeStamp
+	CMBufferGetTimeHandler CM_NULLABLE getPresentationTimeStamp;/*!< This block is called from CMBufferQueueGetFirstPresentationTimeStamp
 																	(once) and from CMBufferQueueGetMinPresentationTimeStamp (multiple times).
 																	It should return the presentation timestamp of the buffer.  If there are
 																	multiple samples in the buffer, this block should return the minimum
 																	presentation timestamp in the buffer. Can be NULL
 																	(CMBufferQueueGetFirstPresentationTimeStamp and
 																	CMBufferQueueGetMinPresentationTimeStamp will return kCMTimeInvalid). */
-	CMBufferGetTimeHandler CM_NONNULL getDuration;				/*! @field getDuration
-																	This block is called (once) during enqueue and dequeue operations to
+	CMBufferGetTimeHandler CM_NONNULL getDuration;				/*!< This block is called (once) during enqueue and dequeue operations to
 																	update the total duration of the queue.  Must not be NULL. */
-	CMBufferGetBooleanHandler CM_NULLABLE isDataReady;			/*! @field isDataReady
-																	This block is called from CMBufferQueueDequeueIfDataReadyAndRetain, to
+	CMBufferGetBooleanHandler CM_NULLABLE isDataReady;			/*!< This block is called from CMBufferQueueDequeueIfDataReadyAndRetain, to
 																	ask if the buffer that is about to be dequeued is ready.  Can be NULL
 																	(data will be assumed to be ready). */
-	CMBufferCompareHandler CM_NULLABLE compare;					/*! @field compare
-																	This block is called (multiple times) from CMBufferQueueEnqueue, to
+	CMBufferCompareHandler CM_NULLABLE compare;					/*!< This block is called (multiple times) from CMBufferQueueEnqueue, to
 																	perform an insertion sort. Can be NULL (queue will be FIFO). */
-	CFStringRef CM_NULLABLE dataBecameReadyNotification;		/*! @field dataBecameReadyNotification
-																	If triggers of type kCMBufferQueueTrigger_WhenDataBecomesReady are installed,
+	CFStringRef CM_NULLABLE dataBecameReadyNotification;		/*!< If triggers of type kCMBufferQueueTrigger_WhenDataBecomesReady are installed,
 																	the queue will listen for this notification on the head buffer. 
 																	Can be NULL (then the queue won't listen for it). */
-	CMBufferGetSizeHandler CM_NULLABLE getSize;					/*! @field getSize
-																	This block is called (once) during enqueue and dequeue operation to
+	CMBufferGetSizeHandler CM_NULLABLE getSize;					/*!< This block is called (once) during enqueue and dequeue operation to
 																	update the total size of the queue. Can be NULL. */
 } CMBufferHandlers API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
 #pragma pack(pop)
diff -ruN /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h
--- /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h	2021-07-13 00:33:41.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h	2021-07-23 13:32:18.000000000 -0400
@@ -139,16 +139,13 @@
 */
 typedef struct
 {
-	CMTime duration;				/*! @field duration
-										The duration of the sample. If a single struct applies to
+	CMTime duration;				/*!< The duration of the sample. If a single struct applies to
 										each of the samples, they all will have this duration. */
-	CMTime presentationTimeStamp;	/*! @field presentationTimeStamp
-										The time at which the sample will be presented. If a single
+	CMTime presentationTimeStamp;	/*!< The time at which the sample will be presented. If a single
 										struct applies to each of the samples, this is the presentationTime of the
 										first sample. The presentationTime of subsequent samples will be derived by
 										repeatedly adding the sample duration. */
-	CMTime decodeTimeStamp;			/*! @field decodeTimeStamp
-										The time at which the sample will be decoded. If the samples
+	CMTime decodeTimeStamp;			/*!< The time at which the sample will be decoded. If the samples
 										are in presentation order (eg. audio samples, or video samples from a codec
 										that doesn't support out-of-order samples), this can be set to kCMTimeInvalid. */
 } CMSampleTimingInfo API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
diff -ruN /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h
--- /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h	2021-07-13 00:37:43.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h	2021-07-22 04:38:25.000000000 -0400
@@ -88,14 +88,14 @@
 */
 typedef struct
 {
-	CMTimeValue	value;		/*! @field value The value of the CMTime. value/timescale = seconds. */
-	CMTimeScale	timescale;	/*! @field timescale The timescale of the CMTime. value/timescale = seconds.  */
-	CMTimeFlags	flags;		/*! @field flags The flags, eg. kCMTimeFlags_Valid, kCMTimeFlags_PositiveInfinity, etc. */
-	CMTimeEpoch	epoch;		/*! @field epoch Differentiates between equal timestamps that are actually different because
-												 of looping, multi-item sequencing, etc.  
-												 Will be used during comparison: greater epochs happen after lesser ones. 
-												 Additions/subtraction is only possible within a single epoch,
-												 however, since epoch length may be unknown/variable. */
+	CMTimeValue	value;		/*!< The value of the CMTime. value/timescale = seconds */
+	CMTimeScale	timescale;	/*!< The timescale of the CMTime. value/timescale = seconds. */
+	CMTimeFlags	flags;		/*!< The flags, eg. kCMTimeFlags_Valid, kCMTimeFlags_PositiveInfinity, etc. */
+	CMTimeEpoch	epoch;		/*!< Differentiates between equal timestamps that are actually different because
+								of looping, multi-item sequencing, etc.
+								Will be used during comparison: greater epochs happen after lesser ones.
+								Additions/subtraction is only possible within a single epoch,
+								however, since epoch length may be unknown/variable */
 } CMTime API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
 
 /*!
diff -ruN /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTimeRange.h /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTimeRange.h
--- /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTimeRange.h	2021-07-13 00:37:43.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTimeRange.h	2021-07-23 13:32:17.000000000 -0400
@@ -50,8 +50,8 @@
 */
 typedef struct
 {
-	CMTime			start;		/*! @field start The start time of the time range. */
-	CMTime			duration;	/*! @field duration The duration of the time range. */
+	CMTime			start;		/*!< The start time of the time range. */
+	CMTime			duration;	/*!< The duration of the time range. */
 } CMTimeRange API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
 
 /*!
Clone this wiki locally