diff --git a/src/AVFoundation/AVTypes.cs b/src/AVFoundation/AVTypes.cs index 59243306cc34..8ccb34ba4bef 100644 --- a/src/AVFoundation/AVTypes.cs +++ b/src/AVFoundation/AVTypes.cs @@ -304,23 +304,39 @@ public static CGRect WithAspectRatio (this CGRect self, CGSize aspectRatio) } #endif -#if MONOMAC || !NET - #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("maccatalyst")] - [UnsupportedOSPlatform ("ios")] - [UnsupportedOSPlatform ("tvos")] + [SupportedOSPlatform ("maccatalyst15.0")] + [SupportedOSPlatform ("ios15.0")] + [SupportedOSPlatform ("tvos15.0")] #else - [NoiOS] - [NoWatch] - [NoTV] -#endif -#if !MONOMAC - [Obsolete ("This API is not available on this platform.")] + [iOS (15, 0)] + [Watch (8, 0)] + [TV (15, 0)] + [MacCatalyst (15, 0)] #endif [StructLayout (LayoutKind.Sequential)] public struct AVSampleCursorSyncInfo { +#if XAMCORE_5_0 || __IOS__ || __TVOS__ + byte isFullSync; + byte isPartialSync; + byte isDroppable; + + public bool IsFullSync { + get => isFullSync != 0; + set => isFullSync = value.AsByte (); + } + + public bool IsPartialSync { + get => isPartialSync != 0; + set => isPartialSync = value.AsByte (); + } + + public bool IsDroppable { + get => isDroppable != 0; + set => isDroppable = value.AsByte (); + } +#else [MarshalAs (UnmanagedType.I1)] public bool IsFullSync; @@ -329,23 +345,95 @@ public struct AVSampleCursorSyncInfo { [MarshalAs (UnmanagedType.I1)] public bool IsDroppable; +#endif } +#if !(XAMCORE_5_0 || __IOS__ || __TVOS__) + [StructLayout (LayoutKind.Sequential)] +#if COREBUILD + public +#endif + struct AVSampleCursorSyncInfo_Blittable { + byte isFullSync; + public bool IsFullSync { + get => isFullSync != 0; + set => isFullSync = value.AsByte (); + } + + byte isPartialSync; + public bool IsPartialSync { + get => isPartialSync != 0; + set => isPartialSync = value.AsByte (); + } + + byte isDroppable; + public bool IsDroppable { + get => isDroppable != 0; + set => isDroppable = value.AsByte (); + } + + public AVSampleCursorSyncInfo ToAVSampleCursorSyncInfo () + { + var rv = new AVSampleCursorSyncInfo (); + rv.IsFullSync = IsFullSync; + rv.IsPartialSync = IsPartialSync; + rv.IsDroppable = IsDroppable; + return rv; + } + } +#endif + #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("maccatalyst")] - [UnsupportedOSPlatform ("ios")] - [UnsupportedOSPlatform ("tvos")] + [SupportedOSPlatform ("maccatalyst15.0")] + [SupportedOSPlatform ("ios15.0")] + [SupportedOSPlatform ("tvos15.0")] #else - [NoiOS] - [NoWatch] - [NoTV] -#endif -#if !MONOMAC - [Obsolete ("This API is not available on this platform.")] + [iOS (15, 0)] + [Watch (8, 0)] + [TV (15, 0)] + [MacCatalyst (15, 0)] #endif [StructLayout (LayoutKind.Sequential)] public struct AVSampleCursorDependencyInfo { +#if XAMCORE_5_0 || __IOS__ || __TVOS__ + byte indicatesWhetherItHasDependentSamples; + byte hasDependentSamples; + byte indicatesWhetherItDependsOnOthers; + byte dependsOnOthers; + byte indicatesWhetherItHasRedundantCoding; + byte hasRedundantCoding; + + public bool IndicatesWhetherItHasDependentSamples { + get => indicatesWhetherItHasDependentSamples != 0; + set => indicatesWhetherItHasDependentSamples = value.AsByte (); + } + + public bool HasDependentSamples { + get => hasDependentSamples != 0; + set => hasDependentSamples = value.AsByte (); + } + + public bool IndicatesWhetherItDependsOnOthers { + get => indicatesWhetherItDependsOnOthers != 0; + set => indicatesWhetherItDependsOnOthers = value.AsByte (); + } + + public bool DependsOnOthers { + get => dependsOnOthers != 0; + set => dependsOnOthers = value.AsByte (); + } + + public bool IndicatesWhetherItHasRedundantCoding { + get => indicatesWhetherItHasRedundantCoding != 0; + set => indicatesWhetherItHasRedundantCoding = value.AsByte (); + } + + public bool HasRedundantCoding { + get => hasRedundantCoding != 0; + set => hasRedundantCoding = value.AsByte (); + } +#else [MarshalAs (UnmanagedType.I1)] public bool IndicatesWhetherItHasDependentSamples; @@ -363,20 +451,76 @@ public struct AVSampleCursorDependencyInfo { [MarshalAs (UnmanagedType.I1)] public bool HasRedundantCoding; +#endif } +#if !(XAMCORE_5_0 || __IOS__ || __TVOS__) + [StructLayout (LayoutKind.Sequential)] +#if COREBUILD + public +#endif + struct AVSampleCursorDependencyInfo_Blittable { + byte indicatesWhetherItHasDependentSamples; + byte hasDependentSamples; + byte indicatesWhetherItDependsOnOthers; + byte dependsOnOthers; + byte indicatesWhetherItHasRedundantCoding; + byte hasRedundantCoding; + + public bool IndicatesWhetherItHasDependentSamples { + get => indicatesWhetherItHasDependentSamples != 0; + set => indicatesWhetherItHasDependentSamples = value.AsByte (); + } + + public bool HasDependentSamples { + get => hasDependentSamples != 0; + set => hasDependentSamples = value.AsByte (); + } + + public bool IndicatesWhetherItDependsOnOthers { + get => indicatesWhetherItDependsOnOthers != 0; + set => indicatesWhetherItDependsOnOthers = value.AsByte (); + } + + public bool DependsOnOthers { + get => dependsOnOthers != 0; + set => dependsOnOthers = value.AsByte (); + } + + public bool IndicatesWhetherItHasRedundantCoding { + get => indicatesWhetherItHasRedundantCoding != 0; + set => indicatesWhetherItHasRedundantCoding = value.AsByte (); + } + + public bool HasRedundantCoding { + get => hasRedundantCoding != 0; + set => hasRedundantCoding = value.AsByte (); + } + + public AVSampleCursorDependencyInfo ToAVSampleCursorDependencyInfo () + { + var rv = new AVSampleCursorDependencyInfo (); + rv.IndicatesWhetherItHasDependentSamples = IndicatesWhetherItHasDependentSamples; + rv.HasDependentSamples = HasDependentSamples; + rv.IndicatesWhetherItDependsOnOthers = IndicatesWhetherItDependsOnOthers; + rv.DependsOnOthers = DependsOnOthers; + rv.IndicatesWhetherItHasRedundantCoding = IndicatesWhetherItHasRedundantCoding; + rv.HasRedundantCoding = HasRedundantCoding; + return rv; + } + } +#endif // !(XAMCORE_5_0 || __IOS__ || __TVOS__) + #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("maccatalyst")] - [UnsupportedOSPlatform ("ios")] - [UnsupportedOSPlatform ("tvos")] + [SupportedOSPlatform ("maccatalyst15.0")] + [SupportedOSPlatform ("ios15.0")] + [SupportedOSPlatform ("tvos15.0")] #else - [NoiOS] - [NoWatch] - [NoTV] -#endif -#if !MONOMAC - [Obsolete ("This API is not available on this platform.")] + [iOS (15, 0)] + [Watch (8, 0)] + [TV (15, 0)] + [MacCatalyst (15, 0)] #endif [StructLayout (LayoutKind.Sequential)] public struct AVSampleCursorStorageRange { @@ -386,21 +530,39 @@ public struct AVSampleCursorStorageRange { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("maccatalyst")] - [UnsupportedOSPlatform ("ios")] - [UnsupportedOSPlatform ("tvos")] + [SupportedOSPlatform ("maccatalyst15.0")] + [SupportedOSPlatform ("ios15.0")] + [SupportedOSPlatform ("tvos15.0")] #else - [NoiOS] - [NoWatch] - [NoTV] -#endif -#if !MONOMAC - [Obsolete ("This API is not available on this platform.")] + [iOS (15, 0)] + [Watch (8, 0)] + [TV (15, 0)] + [MacCatalyst (15, 0)] #endif [StructLayout (LayoutKind.Sequential)] public struct AVSampleCursorChunkInfo { public long SampleCount; +#if XAMCORE_5_0 || __IOS__ || __TVOS__ + byte hasUniformSampleSizes; + byte hasUniformSampleDurations; + byte hasUniformFormatDescriptions; + + public bool HasUniformSampleSizes { + get => hasUniformSampleSizes != 0; + set => hasUniformSampleSizes = value.AsByte (); + } + + public bool HasUniformSampleDurations { + get => hasUniformSampleDurations != 0; + set => hasUniformSampleDurations = value.AsByte (); + } + + public bool HasUniformFormatDescriptions { + get => hasUniformFormatDescriptions != 0; + set => hasUniformFormatDescriptions = value.AsByte (); + } +#else [MarshalAs (UnmanagedType.I1)] public bool HasUniformSampleSizes; @@ -409,23 +571,95 @@ public struct AVSampleCursorChunkInfo { [MarshalAs (UnmanagedType.I1)] public bool HasUniformFormatDescriptions; +#endif } + +#if !(XAMCORE_5_0 || __IOS__ || __TVOS__) + [StructLayout (LayoutKind.Sequential)] +#if COREBUILD + public #endif + struct AVSampleCursorChunkInfo_Blittable { + public long SampleCount; -#if MONOMAC || __MACCATALYST__ + byte hasUniformSampleSizes; + public bool HasUniformSampleSizes { + get => hasUniformSampleSizes != 0; + set => hasUniformSampleSizes = value.AsByte (); + } + + byte hasUniformSampleDurations; + public bool HasUniformSampleDurations { + get => hasUniformSampleDurations != 0; + set => hasUniformSampleDurations = value.AsByte (); + } + + byte hasUniformFormatDescriptions; + public bool HasUniformFormatDescriptions { + get => hasUniformFormatDescriptions != 0; + set => hasUniformFormatDescriptions = value.AsByte (); + } + + public AVSampleCursorChunkInfo ToAVSampleCursorChunkInfo () + { + var rv = new AVSampleCursorChunkInfo (); + rv.HasUniformSampleSizes = HasUniformSampleSizes; + rv.HasUniformSampleDurations = HasUniformSampleDurations; + rv.HasUniformFormatDescriptions = HasUniformFormatDescriptions; + return rv; + } + } +#endif // !(XAMCORE_5_0 || __IOS__ || __TVOS__) #if NET [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst15.0")] + [SupportedOSPlatform ("ios15.0")] + [SupportedOSPlatform ("tvos15.0")] +#else + [iOS (15, 0)] + [Watch (8, 0)] + [TV (15, 0)] + [MacCatalyst (15, 0)] #endif [StructLayout (LayoutKind.Sequential)] public struct AVSampleCursorAudioDependencyInfo { +#if XAMCORE_5_0 || __IOS__ || __TVOS__ + byte isIndependentlyDecodable; + + public bool IsIndependentlyDecodable { + get => isIndependentlyDecodable != 0; + set => isIndependentlyDecodable = value.AsByte (); + } +#else [MarshalAs (UnmanagedType.I1)] public bool IsIndependentlyDecodable; +#endif public nint PacketRefreshCount; } + +#if !XAMCORE_5_0 && !__IOS__ && !__TVOS__ + [StructLayout (LayoutKind.Sequential)] +#if COREBUILD + public #endif + struct AVSampleCursorAudioDependencyInfo_Blittable { + byte isIndependentlyDecodable; + public bool IsIndependentlyDecodable { + get => isIndependentlyDecodable != 0; + set => isIndependentlyDecodable = value.AsByte (); + } + public nint PacketRefreshCount; + public AVSampleCursorAudioDependencyInfo ToAVSampleCursorAudioDependencyInfo () + { + var rv = new AVSampleCursorAudioDependencyInfo (); + rv.IsIndependentlyDecodable = IsIndependentlyDecodable; + rv.PacketRefreshCount = PacketRefreshCount; + return rv; + } + } +#endif // !XAMCORE_5_0 && !__IOS__ && !__TVOS__ #if MONOMAC diff --git a/src/avfoundation.cs b/src/avfoundation.cs index 0bb21c662fa6..7ebdb8a18599 100644 --- a/src/avfoundation.cs +++ b/src/avfoundation.cs @@ -77,9 +77,6 @@ using UIImage = AppKit.NSImage; #else using UIKit; -using AVSampleCursorChunkInfo = Foundation.NSObject; -using AVSampleCursorStorageRange = Foundation.NSObject; -using AVSampleCursorSyncInfo = Foundation.NSObject; #endif #if !NET @@ -5244,8 +5241,8 @@ interface AVAssetTrack : NSCopying { void LoadSegment (CMTime trackTime, Action completionHandler); } - [NoiOS, NoTV, NoWatch] - [NoMacCatalyst] + [iOS (16, 0), TV (16, 0), Watch (9, 0)] + [MacCatalyst (16, 0)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] interface AVSampleCursor : NSCopying { @@ -5284,15 +5281,38 @@ interface AVSampleCursor : NSCopying { [return: Release] CMFormatDescription CopyCurrentSampleFormatDescription (); -#pragma warning disable 0618 // warning CS0618: 'AVSampleCursorSyncInfo' is obsolete: 'This API is not available on this platform.' +#if XAMCORE_5_0 || IOS || TVOS [Export ("currentSampleSyncInfo")] AVSampleCursorSyncInfo CurrentSampleSyncInfo { get; } -#pragma warning restore +#else + //[Virtual] + [Wrap ("CurrentSampleSyncInfo_Blittable.ToAVSampleCursorSyncInfo ()")] + AVSampleCursorSyncInfo CurrentSampleSyncInfo { get; } + + [Internal] + [Export ("currentSampleSyncInfo")] + AVSampleCursorSyncInfo_Blittable CurrentSampleSyncInfo_Blittable { get; } +#endif -#pragma warning disable 0618 // warning CS0618: 'AVSampleCursorSyncInfo' is obsolete: 'This API is not available on this platform.' +#if !(XAMCORE_5_0 || IOS || TVOS) + [Obsolete ("Use 'CurrentSampleDependencyInfo2' instead. The property type of this property is wrong.")] + [EditorBrowsable (EditorBrowsableState.Never)] [Export ("currentSampleDependencyInfo")] AVSampleCursorSyncInfo CurrentSampleDependencyInfo { get; } -#pragma warning restore +#endif + +#if XAMCORE_5_0 || IOS || TVOS + [Export ("currentSampleDependencyInfo")] + AVSampleCursorDependencyInfo CurrentSampleDependencyInfo { get; } +#else + [Wrap ("CurrentSampleDependencyInfo_Blittable.ToAVSampleCursorDependencyInfo ()")] + AVSampleCursorDependencyInfo CurrentSampleDependencyInfo2 { get; } + + [Internal] + [Export ("currentSampleDependencyInfo")] + [Sealed] + AVSampleCursorDependencyInfo_Blittable CurrentSampleDependencyInfo_Blittable { get; } +#endif [Export ("samplesRequiredForDecoderRefresh")] nint SamplesRequiredForDecoderRefresh { get; } @@ -5301,33 +5321,40 @@ interface AVSampleCursor : NSCopying { [Export ("currentChunkStorageURL")] NSUrl CurrentChunkStorageUrl { get; } -#pragma warning disable 0618 // warning CS0618: 'AVSampleCursorStorageRange' is obsolete: 'This API is not available on this platform.' [Export ("currentChunkStorageRange")] AVSampleCursorStorageRange CurrentChunkStorageRange { get; } -#pragma warning restore -#pragma warning disable 0618 // warning CS0618: 'AVSampleCursorChunkInfo' is obsolete: 'This API is not available on this platform.' [Export ("currentChunkInfo")] +#if XAMCORE_5_0 || IOS || TVOS + AVSampleCursorChunkInfo CurrentChunkInfo { get; } +#else + [Internal] + AVSampleCursorChunkInfo_Blittable CurrentChunkInfo_Blittable { get; } + + //[Virtual] + [Wrap ("CurrentChunkInfo_Blittable.ToAVSampleCursorChunkInfo ()")] AVSampleCursorChunkInfo CurrentChunkInfo { get; } -#pragma warning restore +#endif [Export ("currentSampleIndexInChunk")] long CurrentSampleIndexInChunk { get; } -#pragma warning disable 0618 // warning CS0618: 'AVSampleCursorStorageRange' is obsolete: 'This API is not available on this platform.' [Export ("currentSampleStorageRange")] AVSampleCursorStorageRange CurrentSampleStorageRange { get; } -#pragma warning restore -#if MONOMAC - [NoiOS][NoWatch][NoTV] + [Export ("currentSampleAudioDependencyInfo")] +#if XAMCORE_5_0 || IOS || TVOS + AVSampleCursorAudioDependencyInfo CurrentSampleAudioDependencyInfo { get; } +#else + [Internal] + AVSampleCursorAudioDependencyInfo_Blittable CurrentSampleAudioDependencyInfo_Blittable { get; } + + //[Virtual] + [Wrap ("CurrentSampleAudioDependencyInfo_Blittable.ToAVSampleCursorAudioDependencyInfo ()")] AVSampleCursorAudioDependencyInfo CurrentSampleAudioDependencyInfo { get; } #endif - [NoiOS] - [NoWatch] - [NoTV] [NullAllowed] [Mac (12, 0)] [Export ("currentSampleDependencyAttachments")] diff --git a/tests/cecil-tests/BlittablePInvokes.KnownFailures.cs b/tests/cecil-tests/BlittablePInvokes.KnownFailures.cs index 3555c72ea1ee..37b57a29ff05 100644 --- a/tests/cecil-tests/BlittablePInvokes.KnownFailures.cs +++ b/tests/cecil-tests/BlittablePInvokes.KnownFailures.cs @@ -56,16 +56,6 @@ public partial class BlittablePInvokes { }; #endif static HashSet knownFailuresPInvokes = new HashSet { - "AVFoundation.AVSampleCursorAudioDependencyInfo ObjCRuntime.Messaging::AVSampleCursorAudioDependencyInfo_objc_msgSend(System.IntPtr,System.IntPtr)", - "AVFoundation.AVSampleCursorAudioDependencyInfo ObjCRuntime.Messaging::AVSampleCursorAudioDependencyInfo_objc_msgSendSuper(System.IntPtr,System.IntPtr)", - "AVFoundation.AVSampleCursorChunkInfo ObjCRuntime.Messaging::AVSampleCursorChunkInfo_objc_msgSend_stret(System.IntPtr,System.IntPtr)", - "AVFoundation.AVSampleCursorChunkInfo ObjCRuntime.Messaging::AVSampleCursorChunkInfo_objc_msgSend(System.IntPtr,System.IntPtr)", - "AVFoundation.AVSampleCursorChunkInfo ObjCRuntime.Messaging::AVSampleCursorChunkInfo_objc_msgSendSuper_stret(System.IntPtr,System.IntPtr)", - "AVFoundation.AVSampleCursorChunkInfo ObjCRuntime.Messaging::AVSampleCursorChunkInfo_objc_msgSendSuper(System.IntPtr,System.IntPtr)", - "AVFoundation.AVSampleCursorSyncInfo ObjCRuntime.Messaging::AVSampleCursorSyncInfo_objc_msgSend_stret(System.IntPtr,System.IntPtr)", - "AVFoundation.AVSampleCursorSyncInfo ObjCRuntime.Messaging::AVSampleCursorSyncInfo_objc_msgSend(System.IntPtr,System.IntPtr)", - "AVFoundation.AVSampleCursorSyncInfo ObjCRuntime.Messaging::AVSampleCursorSyncInfo_objc_msgSendSuper_stret(System.IntPtr,System.IntPtr)", - "AVFoundation.AVSampleCursorSyncInfo ObjCRuntime.Messaging::AVSampleCursorSyncInfo_objc_msgSendSuper(System.IntPtr,System.IntPtr)", "System.Void ObjCRuntime.Messaging::void_objc_msgSend_GCDualSenseAdaptiveTriggerPositionalAmplitudes_float(System.IntPtr,System.IntPtr,GameController.GCDualSenseAdaptiveTriggerPositionalAmplitudes,System.Single)", "System.Void ObjCRuntime.Messaging::void_objc_msgSend_GCDualSenseAdaptiveTriggerPositionalResistiveStrengths(System.IntPtr,System.IntPtr,GameController.GCDualSenseAdaptiveTriggerPositionalResistiveStrengths)", "System.Void ObjCRuntime.Messaging::void_objc_msgSendSuper_GCDualSenseAdaptiveTriggerPositionalAmplitudes_float(System.IntPtr,System.IntPtr,GameController.GCDualSenseAdaptiveTriggerPositionalAmplitudes,System.Single)", diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 0c7912433e52..318e07328b44 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -21119,10 +21119,10 @@ M:AppKit.INSHapticFeedbackPerformer.PerformFeedback(AppKit.NSHapticFeedbackPatte M:AppKit.INSMenuItemValidation.ValidateMenuItem(AppKit.NSMenuItem) M:AppKit.INSMenuValidation.ValidateMenuItem(AppKit.NSMenuItem) M:AppKit.INSPasteboardItemDataProvider.ProvideDataForType(AppKit.NSPasteboard,AppKit.NSPasteboardItem,System.String) -M:AppKit.INSPasteboardReading.GetReadableTypesForPasteboard``1(AppKit.NSPasteboard) -M:AppKit.INSPasteboardReading.GetReadingOptionsForType``1(System.String,AppKit.NSPasteboard) M:AppKit.INSPasteboardReading.CreateInstance``1(Foundation.NSObject,AppKit.NSPasteboardType) M:AppKit.INSPasteboardReading.CreateInstance``1(Foundation.NSObject,Foundation.NSString) +M:AppKit.INSPasteboardReading.GetReadableTypesForPasteboard``1(AppKit.NSPasteboard) +M:AppKit.INSPasteboardReading.GetReadingOptionsForType``1(System.String,AppKit.NSPasteboard) M:AppKit.INSPasteboardTypeOwner.ProvideData(AppKit.NSPasteboard,System.String) M:AppKit.INSPasteboardWriting.GetPasteboardPropertyListForType(System.String) M:AppKit.INSPasteboardWriting.GetWritableTypesForPasteboard(AppKit.NSPasteboard) @@ -50787,6 +50787,20 @@ P:AVFoundation.AVSampleBufferDisplayLayer.OutputObscuredDueToInsufficientExterna P:AVFoundation.AVSampleBufferDisplayLayer.ReadyForMoreMediaData P:AVFoundation.AVSampleBufferDisplayLayer.RequiresFlushToResumeDecodingDidChangeNotification P:AVFoundation.AVSampleBufferRenderSynchronizer.RateDidChangeNotification +P:AVFoundation.AVSampleCursor.CurrentSampleDependencyInfo2 +P:AVFoundation.AVSampleCursorAudioDependencyInfo.IsIndependentlyDecodable +P:AVFoundation.AVSampleCursorChunkInfo.HasUniformFormatDescriptions +P:AVFoundation.AVSampleCursorChunkInfo.HasUniformSampleDurations +P:AVFoundation.AVSampleCursorChunkInfo.HasUniformSampleSizes +P:AVFoundation.AVSampleCursorDependencyInfo.DependsOnOthers +P:AVFoundation.AVSampleCursorDependencyInfo.HasDependentSamples +P:AVFoundation.AVSampleCursorDependencyInfo.HasRedundantCoding +P:AVFoundation.AVSampleCursorDependencyInfo.IndicatesWhetherItDependsOnOthers +P:AVFoundation.AVSampleCursorDependencyInfo.IndicatesWhetherItHasDependentSamples +P:AVFoundation.AVSampleCursorDependencyInfo.IndicatesWhetherItHasRedundantCoding +P:AVFoundation.AVSampleCursorSyncInfo.IsDroppable +P:AVFoundation.AVSampleCursorSyncInfo.IsFullSync +P:AVFoundation.AVSampleCursorSyncInfo.IsPartialSync P:AVFoundation.AVSampleRateEventArgs.SampleRate P:AVFoundation.AVSpeechSynthesisVoice.AudioFileSettings P:AVFoundation.AVSpeechSynthesisVoice.CurrentLanguageCode diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-AVFoundation.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-AVFoundation.todo index dfca775a6d07..70e9afa6da8b 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-AVFoundation.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/iOS-AVFoundation.todo @@ -224,27 +224,6 @@ !missing-selector! AVSampleBufferRequest::setOverrideTime: not bound !missing-selector! AVSampleBufferRequest::setPreferredMinSampleCount: not bound !missing-selector! AVSampleBufferRequest::startCursor not bound -!missing-selector! AVSampleCursor::comparePositionInDecodeOrderWithPositionOfCursor: not bound -!missing-selector! AVSampleCursor::copyCurrentSampleFormatDescription not bound -!missing-selector! AVSampleCursor::currentChunkInfo not bound -!missing-selector! AVSampleCursor::currentChunkStorageRange not bound -!missing-selector! AVSampleCursor::currentChunkStorageURL not bound -!missing-selector! AVSampleCursor::currentSampleAudioDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDependencyAttachments not bound -!missing-selector! AVSampleCursor::currentSampleDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDuration not bound -!missing-selector! AVSampleCursor::currentSampleIndexInChunk not bound -!missing-selector! AVSampleCursor::currentSampleStorageRange not bound -!missing-selector! AVSampleCursor::currentSampleSyncInfo not bound -!missing-selector! AVSampleCursor::decodeTimeStamp not bound -!missing-selector! AVSampleCursor::presentationTimeStamp not bound -!missing-selector! AVSampleCursor::samplesRequiredForDecoderRefresh not bound -!missing-selector! AVSampleCursor::samplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::samplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::stepByDecodeTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepByPresentationTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepInDecodeOrderByCount: not bound -!missing-selector! AVSampleCursor::stepInPresentationOrderByCount: not bound !missing-selector! AVSpeechSynthesisMarker::byteSampleOffset not bound !missing-selector! AVSpeechSynthesisMarker::initWithMarkerType:forTextRange:atByteSampleOffset: not bound !missing-selector! AVSpeechSynthesisMarker::mark not bound @@ -297,7 +276,6 @@ !missing-type! AVSampleBufferGenerator not bound !missing-type! AVSampleBufferGeneratorBatch not bound !missing-type! AVSampleBufferRequest not bound -!missing-type! AVSampleCursor not bound !missing-type! AVSpeechSynthesisMarker not bound !missing-type! AVSpeechSynthesisProviderAudioUnit not bound !missing-type! AVSpeechSynthesisProviderRequest not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.todo index 86cd3b31c292..015785c6f0e2 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.todo @@ -204,27 +204,6 @@ !missing-selector! AVSampleBufferRequest::setOverrideTime: not bound !missing-selector! AVSampleBufferRequest::setPreferredMinSampleCount: not bound !missing-selector! AVSampleBufferRequest::startCursor not bound -!missing-selector! AVSampleCursor::comparePositionInDecodeOrderWithPositionOfCursor: not bound -!missing-selector! AVSampleCursor::copyCurrentSampleFormatDescription not bound -!missing-selector! AVSampleCursor::currentChunkInfo not bound -!missing-selector! AVSampleCursor::currentChunkStorageRange not bound -!missing-selector! AVSampleCursor::currentChunkStorageURL not bound -!missing-selector! AVSampleCursor::currentSampleAudioDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDependencyAttachments not bound -!missing-selector! AVSampleCursor::currentSampleDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDuration not bound -!missing-selector! AVSampleCursor::currentSampleIndexInChunk not bound -!missing-selector! AVSampleCursor::currentSampleStorageRange not bound -!missing-selector! AVSampleCursor::currentSampleSyncInfo not bound -!missing-selector! AVSampleCursor::decodeTimeStamp not bound -!missing-selector! AVSampleCursor::presentationTimeStamp not bound -!missing-selector! AVSampleCursor::samplesRequiredForDecoderRefresh not bound -!missing-selector! AVSampleCursor::samplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::samplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::stepByDecodeTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepByPresentationTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepInDecodeOrderByCount: not bound -!missing-selector! AVSampleCursor::stepInPresentationOrderByCount: not bound !missing-selector! AVSpeechSynthesisMarker::byteSampleOffset not bound !missing-selector! AVSpeechSynthesisMarker::initWithMarkerType:forTextRange:atByteSampleOffset: not bound !missing-selector! AVSpeechSynthesisMarker::mark not bound @@ -277,7 +256,6 @@ !missing-type! AVSampleBufferGenerator not bound !missing-type! AVSampleBufferGeneratorBatch not bound !missing-type! AVSampleBufferRequest not bound -!missing-type! AVSampleCursor not bound !missing-type! AVSpeechSynthesisMarker not bound !missing-type! AVSpeechSynthesisProviderAudioUnit not bound !missing-type! AVSpeechSynthesisProviderRequest not bound diff --git a/tests/xtro-sharpie/iOS-AVFoundation.todo b/tests/xtro-sharpie/iOS-AVFoundation.todo index dfca775a6d07..70e9afa6da8b 100644 --- a/tests/xtro-sharpie/iOS-AVFoundation.todo +++ b/tests/xtro-sharpie/iOS-AVFoundation.todo @@ -224,27 +224,6 @@ !missing-selector! AVSampleBufferRequest::setOverrideTime: not bound !missing-selector! AVSampleBufferRequest::setPreferredMinSampleCount: not bound !missing-selector! AVSampleBufferRequest::startCursor not bound -!missing-selector! AVSampleCursor::comparePositionInDecodeOrderWithPositionOfCursor: not bound -!missing-selector! AVSampleCursor::copyCurrentSampleFormatDescription not bound -!missing-selector! AVSampleCursor::currentChunkInfo not bound -!missing-selector! AVSampleCursor::currentChunkStorageRange not bound -!missing-selector! AVSampleCursor::currentChunkStorageURL not bound -!missing-selector! AVSampleCursor::currentSampleAudioDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDependencyAttachments not bound -!missing-selector! AVSampleCursor::currentSampleDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDuration not bound -!missing-selector! AVSampleCursor::currentSampleIndexInChunk not bound -!missing-selector! AVSampleCursor::currentSampleStorageRange not bound -!missing-selector! AVSampleCursor::currentSampleSyncInfo not bound -!missing-selector! AVSampleCursor::decodeTimeStamp not bound -!missing-selector! AVSampleCursor::presentationTimeStamp not bound -!missing-selector! AVSampleCursor::samplesRequiredForDecoderRefresh not bound -!missing-selector! AVSampleCursor::samplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::samplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::stepByDecodeTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepByPresentationTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepInDecodeOrderByCount: not bound -!missing-selector! AVSampleCursor::stepInPresentationOrderByCount: not bound !missing-selector! AVSpeechSynthesisMarker::byteSampleOffset not bound !missing-selector! AVSpeechSynthesisMarker::initWithMarkerType:forTextRange:atByteSampleOffset: not bound !missing-selector! AVSpeechSynthesisMarker::mark not bound @@ -297,7 +276,6 @@ !missing-type! AVSampleBufferGenerator not bound !missing-type! AVSampleBufferGeneratorBatch not bound !missing-type! AVSampleBufferRequest not bound -!missing-type! AVSampleCursor not bound !missing-type! AVSpeechSynthesisMarker not bound !missing-type! AVSpeechSynthesisProviderAudioUnit not bound !missing-type! AVSpeechSynthesisProviderRequest not bound diff --git a/tests/xtro-sharpie/tvOS-AVFoundation.todo b/tests/xtro-sharpie/tvOS-AVFoundation.todo index 86cd3b31c292..015785c6f0e2 100644 --- a/tests/xtro-sharpie/tvOS-AVFoundation.todo +++ b/tests/xtro-sharpie/tvOS-AVFoundation.todo @@ -204,27 +204,6 @@ !missing-selector! AVSampleBufferRequest::setOverrideTime: not bound !missing-selector! AVSampleBufferRequest::setPreferredMinSampleCount: not bound !missing-selector! AVSampleBufferRequest::startCursor not bound -!missing-selector! AVSampleCursor::comparePositionInDecodeOrderWithPositionOfCursor: not bound -!missing-selector! AVSampleCursor::copyCurrentSampleFormatDescription not bound -!missing-selector! AVSampleCursor::currentChunkInfo not bound -!missing-selector! AVSampleCursor::currentChunkStorageRange not bound -!missing-selector! AVSampleCursor::currentChunkStorageURL not bound -!missing-selector! AVSampleCursor::currentSampleAudioDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDependencyAttachments not bound -!missing-selector! AVSampleCursor::currentSampleDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDuration not bound -!missing-selector! AVSampleCursor::currentSampleIndexInChunk not bound -!missing-selector! AVSampleCursor::currentSampleStorageRange not bound -!missing-selector! AVSampleCursor::currentSampleSyncInfo not bound -!missing-selector! AVSampleCursor::decodeTimeStamp not bound -!missing-selector! AVSampleCursor::presentationTimeStamp not bound -!missing-selector! AVSampleCursor::samplesRequiredForDecoderRefresh not bound -!missing-selector! AVSampleCursor::samplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::samplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::stepByDecodeTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepByPresentationTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepInDecodeOrderByCount: not bound -!missing-selector! AVSampleCursor::stepInPresentationOrderByCount: not bound !missing-selector! AVSpeechSynthesisMarker::byteSampleOffset not bound !missing-selector! AVSpeechSynthesisMarker::initWithMarkerType:forTextRange:atByteSampleOffset: not bound !missing-selector! AVSpeechSynthesisMarker::mark not bound @@ -277,7 +256,6 @@ !missing-type! AVSampleBufferGenerator not bound !missing-type! AVSampleBufferGeneratorBatch not bound !missing-type! AVSampleBufferRequest not bound -!missing-type! AVSampleCursor not bound !missing-type! AVSpeechSynthesisMarker not bound !missing-type! AVSpeechSynthesisProviderAudioUnit not bound !missing-type! AVSpeechSynthesisProviderRequest not bound diff --git a/tests/xtro-sharpie/watchOS-AVFoundation.todo b/tests/xtro-sharpie/watchOS-AVFoundation.todo index 2fe806356b71..7a77540ae8c7 100644 --- a/tests/xtro-sharpie/watchOS-AVFoundation.todo +++ b/tests/xtro-sharpie/watchOS-AVFoundation.todo @@ -194,27 +194,6 @@ !missing-selector! AVSampleBufferRequest::setOverrideTime: not bound !missing-selector! AVSampleBufferRequest::setPreferredMinSampleCount: not bound !missing-selector! AVSampleBufferRequest::startCursor not bound -!missing-selector! AVSampleCursor::comparePositionInDecodeOrderWithPositionOfCursor: not bound -!missing-selector! AVSampleCursor::copyCurrentSampleFormatDescription not bound -!missing-selector! AVSampleCursor::currentChunkInfo not bound -!missing-selector! AVSampleCursor::currentChunkStorageRange not bound -!missing-selector! AVSampleCursor::currentChunkStorageURL not bound -!missing-selector! AVSampleCursor::currentSampleAudioDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDependencyAttachments not bound -!missing-selector! AVSampleCursor::currentSampleDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDuration not bound -!missing-selector! AVSampleCursor::currentSampleIndexInChunk not bound -!missing-selector! AVSampleCursor::currentSampleStorageRange not bound -!missing-selector! AVSampleCursor::currentSampleSyncInfo not bound -!missing-selector! AVSampleCursor::decodeTimeStamp not bound -!missing-selector! AVSampleCursor::presentationTimeStamp not bound -!missing-selector! AVSampleCursor::samplesRequiredForDecoderRefresh not bound -!missing-selector! AVSampleCursor::samplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::samplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::stepByDecodeTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepByPresentationTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepInDecodeOrderByCount: not bound -!missing-selector! AVSampleCursor::stepInPresentationOrderByCount: not bound !missing-selector! AVSpeechSynthesisMarker::bookmarkName not bound !missing-selector! AVSpeechSynthesisMarker::byteSampleOffset not bound !missing-selector! AVSpeechSynthesisMarker::initWithBookmarkName:atByteSampleOffset: not bound @@ -270,7 +249,6 @@ !missing-type! AVSampleBufferGenerator not bound !missing-type! AVSampleBufferGeneratorBatch not bound !missing-type! AVSampleBufferRequest not bound -!missing-type! AVSampleCursor not bound !missing-type! AVSpeechSynthesisMarker not bound !missing-type! AVSpeechSynthesisProviderRequest not bound !missing-type! AVSpeechSynthesisProviderVoice not bound