diff --git a/runtime/bindings-generator.cs b/runtime/bindings-generator.cs index 1641a51a7ed9..e1fbda6e2bd6 100644 --- a/runtime/bindings-generator.cs +++ b/runtime/bindings-generator.cs @@ -2694,6 +2694,70 @@ static IEnumerable GetFunctionData () } ); + data.Add ( + new FunctionData { + Comment = " // IntPtr func (IntPtr, Quaternion)", + Prefix = "simd__", + Variants = Variants.All, + ReturnType = Types.IntPtr, + Parameters = new ParameterData [] { + new ParameterData { TypeData = Types.IntPtr }, + new ParameterData { TypeData = Types.QuatF } + }, + } + ); + + data.Add ( + new FunctionData { + Comment = " // IntPtr func (IntPtr, Quaternion, IntPtr)", + Prefix = "simd__", + Variants = Variants.All, + ReturnType = Types.IntPtr, + Parameters = new ParameterData [] { + new ParameterData { TypeData = Types.IntPtr }, + new ParameterData { TypeData = Types.QuatF }, + new ParameterData { TypeData = Types.IntPtr } + }, + } + ); + + data.Add ( + new FunctionData { + Comment = " // IntPtr func (Vector2D, IntPtr)", + Prefix = "simd__", + Variants = Variants.All, + ReturnType = Types.IntPtr, + Parameters = new ParameterData [] { + new ParameterData { TypeData = Types.Vector2d}, + new ParameterData { TypeData = Types.IntPtr } + }, + } + ); + + data.Add ( + new FunctionData { + Comment = " // IntPtr func (Vector2D, int)", + Prefix = "simd__", + Variants = Variants.All, + ReturnType = Types.IntPtr, + Parameters = new ParameterData [] { + new ParameterData { TypeData = Types.Vector2d }, + new ParameterData { TypeData = Types.NInt } + }, + } + ); + + data.Add ( + new FunctionData { + Comment = " // void func (Vector2D)", + Prefix = "simd__", + Variants = Variants.msgSend | Variants.msgSendSuper, + Parameters = new ParameterData [] { + new ParameterData { TypeData = Types.Vector2d }, + }, + } + ); + // We must expand functions with native types to their actual type as well. for (int i = data.Count - 1; i >= 0; i--) { if (!data [i].HasNativeType) diff --git a/src/MLCompute/MLHelpers.cs b/src/MLCompute/MLHelpers.cs index 5b2c469c2db6..a5889f4d2ee8 100644 --- a/src/MLCompute/MLHelpers.cs +++ b/src/MLCompute/MLHelpers.cs @@ -235,4 +235,24 @@ public static string GetDebugDescription (this MLCComparisonOperation self) return CFString.FromHandle (MLCComparisonOperationDebugDescription (self)); } } + +#if NET + [SupportedOSPlatform ("ios15.0")] + [SupportedOSPlatform ("tvos15.0")] + [SupportedOSPlatform ("macos12.0")] + [SupportedOSPlatform ("maccatalyst15.0")] +#else + [NoWatch] + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] +#endif + public static class MLCGradientClippingTypeExtensions { + + [DllImport (Constants.MLComputeLibrary)] + static extern /* NSString */ IntPtr MLCGradientClippingTypeDebugDescription (MLCGradientClippingType gradientClippingType); + + public static string GetDebugDescription (this MLCGradientClippingType self) + { + return CFString.FromHandle (MLCGradientClippingTypeDebugDescription (self)); + } + } } diff --git a/src/ModelIO/MIEnums.cs b/src/ModelIO/MIEnums.cs index beeab96746a7..d34f11719879 100644 --- a/src/ModelIO/MIEnums.cs +++ b/src/ModelIO/MIEnums.cs @@ -114,7 +114,9 @@ public enum MDLVertexFormat : ulong { public enum MDLMeshBufferType : ulong { Vertex = 1, - Index = 2 + Index = 2, + [iOS (15,0), TV (15,0), Mac (12,0), MacCatalyst (15,0)] + Custom = 3, } [Native] @@ -177,7 +179,9 @@ public enum MDLMaterialPropertyType : ulong { Float2, Float3, Float4, - Matrix44 + Matrix44, + [iOS (15,0), TV (15,0), Mac (12,0), MacCatalyst (15,0)] + Buffer, } [Native] diff --git a/src/frameworks.sources b/src/frameworks.sources index 0d88a14a7f90..e5481cc03812 100644 --- a/src/frameworks.sources +++ b/src/frameworks.sources @@ -1994,6 +1994,7 @@ MAC_FRAMEWORKS = \ PassKit \ PdfKit \ PencilKit \ + Phase \ Photos \ PhotosUI \ PrintCore \ @@ -2102,6 +2103,7 @@ IOS_FRAMEWORKS = \ PassKit \ PdfKit \ PencilKit \ + Phase \ Photos \ PhotosUI \ PushKit \ @@ -2271,6 +2273,7 @@ MACCATALYST_FRAMEWORKS = \ PassKit \ PdfKit \ PencilKit \ + Phase \ Photos \ PhotosUI \ PushKit \ diff --git a/src/mlcompute.cs b/src/mlcompute.cs index b36bb939e9ba..f51e03a7e651 100644 --- a/src/mlcompute.cs +++ b/src/mlcompute.cs @@ -92,9 +92,15 @@ enum MLCConvolutionType { enum MLCDataType { Invalid = 0, Float32 = 1, + [iOS (15,0), TV (15,0), Mac (12,0), MacCatalyst (15,0)] + Float16 = 3, Boolean = 4, Int64 = 5, - Int32 = 7, + Inot32 = 7, + [iOS (15,0), TV (15,0), Mac (12,0), MacCatalyst (15,0)] + Int8 = 8, + [iOS (15,0), TV (15,0), Mac (12,0), MacCatalyst (15,0)] + UInt8 = 9, // Count, // must be last, not available in swift } @@ -104,6 +110,8 @@ enum MLCDeviceType /* int32_t */ { Cpu = 0, Gpu = 1, Any = 2, + [iOS (15,0), TV (15,0), Mac (12,0), MacCatalyst (15,0)] + Ane = 3, // Apple neural engine // Count, // must be last, not available in swift } @@ -116,6 +124,8 @@ enum MLCExecutionOptions : ulong { Synchronous = 0x2, Profiling = 0x4, ForwardForInference = 0x8, + [iOS (15,0), TV (15,0), Mac (12,0), MacCatalyst (15,0)] + PerLayerProfiling = 0x10, } [iOS (14,0)][TV (14,0)][Mac (11,0)] @@ -229,6 +239,14 @@ enum MLCSoftmaxOperation { LogSoftmax = 1, } + [iOS (15,0), TV (15,0), Mac (12,0), NoWatch, MacCatalyst (15,0)] + public enum MLCGradientClippingType { + Value = 0, + Norm = 1, + GlobalNorm = 2, + } + + [iOS (14,0)][TV (14,0)][Mac (11,0)] [NoWatch] [BaseType (typeof (NSObject))] @@ -286,6 +304,10 @@ interface MLCLayer { [Static] [Export ("supportsDataType:onDevice:")] bool SupportsDataType (MLCDataType dataType, MLCDeviceType device); + + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Export ("deviceType")] + MLCDeviceType DeviceType { get; } } [iOS (14,0)][TV (14,0)][Mac (11,0)] @@ -442,6 +464,18 @@ interface MLCOptimizer : NSCopying { [Export ("regularizationType")] MLCRegularizationType RegularizationType { get; } + + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Export ("gradientClippingType")] + MLCGradientClippingType GradientClippingType { get; } + + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Export ("maximumClippingNorm")] + float MaximumClippingNorm { get; } + + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Export ("customGlobalNorm")] + float CustomGlobalNorm { get; } } [iOS (14,0)][TV (14,0)][Mac (11,0)] @@ -478,6 +512,23 @@ interface MLCOptimizerDescriptor : NSCopying { [Static] [Export ("descriptorWithLearningRate:gradientRescale:appliesGradientClipping:gradientClipMax:gradientClipMin:regularizationType:regularizationScale:")] MLCOptimizerDescriptor Create (float learningRate, float gradientRescale, bool appliesGradientClipping, float gradientClipMax, float gradientClipMin, MLCRegularizationType regularizationType, float regularizationScale); + + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Static] + [Export ("descriptorWithLearningRate:gradientRescale:appliesGradientClipping:gradientClippingType:gradientClipMax:gradientClipMin:maximumClippingNorm:customGlobalNorm:regularizationType:regularizationScale:")] + MLCOptimizerDescriptor Create (float learningRate, float gradientRescale, bool appliesGradientClipping, MLCGradientClippingType gradientClippingType, float gradientClipMax, float gradientClipMin, float maximumClippingNorm, float customGlobalNorm, MLCRegularizationType regularizationType, float regularizationScale); + + [TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15,0)] + [Export ("gradientClippingType")] + MLCGradientClippingType GradientClippingType { get; } + + [TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15,0)] + [Export ("maximumClippingNorm")] + float MaximumClippingNorm { get; } + + [TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15,0)] + [Export ("customGlobalNorm")] + float CustomGlobalNorm { get; } } [iOS (14,0)][TV (14,0)][Mac (11,0)] @@ -498,6 +549,10 @@ interface MLCAdamOptimizer : NSCopying { [Export ("timeStep")] nuint TimeStep { get; } + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Export ("usesAMSGrad")] + bool UsesAmsGrad { get; } + [Static] [Export ("optimizerWithDescriptor:")] MLCAdamOptimizer Create (MLCOptimizerDescriptor optimizerDescriptor); @@ -505,6 +560,11 @@ interface MLCAdamOptimizer : NSCopying { [Static] [Export ("optimizerWithDescriptor:beta1:beta2:epsilon:timeStep:")] MLCAdamOptimizer Create (MLCOptimizerDescriptor optimizerDescriptor, float beta1, float beta2, float epsilon, nuint timeStep); + + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Static] + [Export ("optimizerWithDescriptor:beta1:beta2:epsilon:usesAMSGrad:timeStep:")] + MLCAdamOptimizer Create (MLCOptimizerDescriptor optimizerDescriptor, float beta1, float beta2, float epsilon, bool usesAmsGrad, nuint timeStep); } [iOS (14,0)][TV (14,0)][Mac (11,0)] @@ -538,11 +598,21 @@ interface MLCDevice : NSCopying { [return: NullAllowed] MLCDevice GetDevice (IMTLDevice[] gpus); + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Static] + [Export ("aneDevice")] + [return: NullAllowed] + MLCDevice GetAneDevice (); + [iOS (14,2)][TV (14,2)] [Static] [Export ("deviceWithType:selectsMultipleComputeDevices:")] [return: NullAllowed] MLCDevice GetDevice (MLCDeviceType type, bool selectsMultipleComputeDevices); + + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Export ("actualDeviceType")] + MLCDeviceType ActualDeviceType { get; } } [iOS (14,0)][TV (14,0)][Mac (11,0)] @@ -673,6 +743,31 @@ MLCTensorData[] OptimizerData { [Export ("bindOptimizerData:deviceData:")] bool BindOptimizer (MLCTensorData[] data, [NullAllowed] MLCTensorOptimizerDeviceData[] deviceData); + + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Export ("tensorByQuantizingToType:scale:bias:")] + [return: NullAllowed] + MLCTensor CreateByQuantizing (MLCDataType type, float scale, nint bias); + + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Export ("tensorByDequantizingToType:scale:bias:")] + [return: NullAllowed] + MLCTensor CreateByDequantizing (MLCDataType type, MLCTensor scale, MLCTensor bias); + + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Export ("tensorByQuantizingToType:scale:bias:axis:")] + [return: NullAllowed] + MLCTensor CreateByQuantizing (MLCDataType type, MLCTensor scale, MLCTensor bias, nint axis); + + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Export ("tensorByDequantizingToType:scale:bias:axis:")] + [return: NullAllowed] + MLCTensor CreateByDequantizing (MLCDataType type, MLCTensor scale, MLCTensor bias, nint axis); + + [Static] + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [Export ("tensorWithShape:randomInitializerType:dataType:")] + MLCTensor Create ([BindAs (typeof (nint[]))] NSNumber[] shape, MLCRandomInitializerType randomInitializerType, MLCDataType dataType); } [iOS (14,0)][TV (14,0)][Mac (11,0)] @@ -2282,4 +2377,49 @@ interface MLCSelectionLayer { [Export ("layer")] MLCSelectionLayer Create (); } + + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface MLCPlatform { + + [Static] + [Export ("setRNGSeedTo:")] + void SetRngSeed ([BindAs (typeof (nuint))] NSNumber seed); + + [return: BindAs (typeof (nuint)), NullAllowed] + [Static] + [Export ("getRNGseed")] + NSNumber GetRngSeed (); + } + + [TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (MLCOptimizer))] + [DisableDefaultCtor] + interface MLCAdamWOptimizer : NSCopying + { + [Export ("beta1")] + float Beta1 { get; } + + [Export ("beta2")] + float Beta2 { get; } + + [Export ("epsilon")] + float Epsilon { get; } + + [Export ("usesAMSGrad")] + bool UsesAmsGrad { get; } + + [Export ("timeStep")] + nuint TimeStep { get; } + + [Static] + [Export ("optimizerWithDescriptor:")] + MLCAdamWOptimizer GetOptimizer (MLCOptimizerDescriptor optimizerDescriptor); + + [Static] + [Export ("optimizerWithDescriptor:beta1:beta2:epsilon:usesAMSGrad:timeStep:")] + MLCAdamWOptimizer GetOptimizer (MLCOptimizerDescriptor optimizerDescriptor, float beta1, float beta2, float epsilon, bool usesAmsGrad, nuint timeStep); + } + } diff --git a/src/mobilecoreservices.cs b/src/mobilecoreservices.cs index c5c88182eb86..f49817bff46e 100644 --- a/src/mobilecoreservices.cs +++ b/src/mobilecoreservices.cs @@ -516,6 +516,11 @@ interface UTType { [Field ("kUTTypeUniversalSceneDescription", "ModelIO")] NSString UniversalSceneDescription { get; } + [NoWatch] + [iOS (15,0), Mac(12,0), TV (15,0), MacCatalyst (15,0)] + [Field ("kUTTypeUniversalSceneDescriptionMobile", "ModelIO")] + NSString UniversalSceneDescriptionMobile { get; } + [Watch (2,2)] [iOS (9,1)][TV (9,0)] [NoMac] diff --git a/src/modelio.cs b/src/modelio.cs index 3fa36fc79a7c..52e9d89adcdd 100644 --- a/src/modelio.cs +++ b/src/modelio.cs @@ -227,12 +227,20 @@ NVector3 UpAxis { [Export ("objectAtIndex:")] MDLObject GetObject (nuint index); + [Deprecated (PlatformName.iOS, 15, 0, message: "Use the 'Originals' property instead.")] + [Deprecated (PlatformName.TvOS, 15, 0, message: "Use the 'Originals' property instead.")] + [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use the 'Originals' property instead.")] + [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use the 'Originals' property instead.")] [iOS (10,0)] [Mac (10,12)] [TV (10,0)] [Export ("masters", ArgumentSemantic.Retain)] IMDLObjectContainerComponent Masters { get; set; } + [iOS (15,0), Mac (12,0), TV (15,0), MacCatalyst (15,0)] + [Export ("originals", ArgumentSemantic.Retain)] + IMDLObjectContainerComponent Originals { get; set; } + [TV (11,0), Mac (10,13), iOS (11,0)] [Export ("animations", ArgumentSemantic.Retain)] IMDLObjectContainerComponent Animations { get; set; } diff --git a/src/phase.cs b/src/phase.cs new file mode 100644 index 000000000000..846c2f4e5152 --- /dev/null +++ b/src/phase.cs @@ -0,0 +1,1316 @@ +using AVFoundation; +using CoreFoundation; +using Foundation; +using ModelIO; +using ObjCRuntime; + +using Quaternion = global::OpenTK.Quaternion; +using Vector2d = global::OpenTK.Vector2d; +using Vector3 = global::OpenTK.Vector3; +using NMatrix4 = global::OpenTK.NMatrix4; + + +using System; + +namespace Phase { + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseUpdateMode : long { + Automatic = 0, + Manual = 1, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseRenderingState : long { + Stopped = 0, + Started = 1, + Paused = 2, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseSpatializationMode : long { + Automatic = 0, + AlwaysUseBinaural = 1, + AlwaysUseChannelBased = 2, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseReverbPreset : long { + None = 1917742958, + SmallRoom = 1918063213, + MediumRoom = 1917669997, + LargeRoom = 1917604401, + LargeRoom2 = 1917604402, + MediumChamber = 1917666152, + LargeChamber = 1917600616, + MediumHall = 1917667377, + MediumHall2 = 1917667378, + MediumHall3 = 1917667379, + LargeHall = 1917601841, + LargeHall2 = 1917601842, + Cathedral = 1917023336, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + [ErrorDomain ("PHASEErrorDomain")] + public enum PhaseError : long { + InitializeFailed = 1346913633, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + [ErrorDomain ("PHASESoundEventErrorDomain")] + public enum PhaseSoundEventError : long { + NotFound = 1346925665, + BadData = 1346925666, + InvalidInstance = 1346925667, + ApiMisuse = 1346925668, + SystemNotInitialized = 1346925669, + OutOfMemory = 1346925670, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + [ErrorDomain ("PHASEAssetErrorDomain")] + public enum PhaseAssetError : long { + FailedToLoad = 1346920801, + InvalidEngineInstance = 1346920802, + BadParameters = 1346920803, + AlreadyExists = 1346920804, + GeneralError = 1346920805, + MemoryAllocation = 1346920806, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseSoundEventPrepareHandlerReason : long { + Error = 0, + Prepared = 1, + Terminated = 2, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseSoundEventStartHandlerReason : long { + Error = 0, + FinishedPlaying = 1, + Terminated = 2, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseSoundEventSeekHandlerReason : long { + Error = 0, + ErrorSeekAlreadyInProgress = 1, + SeekSuccessful = 2, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseSoundEventPrepareState : long { + NotStarted = 0, + InProgress = 1, + Prepared = 2, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseAssetType : long { + Resident = 0, + Streamed = 1, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseCurveType : long { + Linear = 1668435054, + Squared = 1668436849, + InverseSquared = 1668434257, + Cubed = 1668432757, + InverseCubed = 1668434243, + Sine = 1668436846, + InverseSine = 1668434259, + Sigmoid = 1668436839, + InverseSigmoid = 1668434247, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseCullOption : long { + Terminate = 0, + SleepWakeAtZero = 1, + SleepWakeAtRandomOffset = 2, + SleepWakeAtRealtimeOffset = 3, + DoNotCull = 4, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhasePlaybackMode : long { + OneShot = 0, + Looping = 1, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseNormalizationMode : long { + None = 0, + Dynamic = 1, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseCalibrationMode : long { + None = 0, + RelativeSpl = 1, + AbsoluteSpl = 2, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Flags] + [Native] + public enum PhasePushStreamBufferOptions : ulong { + Default = 1uL << 0, + Loops = 1uL << 1, + Interrupts = 1uL << 2, + InterruptsAtLoop = 1uL << 3, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhasePushStreamCompletionCallbackCondition : long + { + DataRendered = 0, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseMediumPreset : long { + PresetAir = 1835286898, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Native] + public enum PhaseMaterialPreset : long { + Cardboard = 1833136740, + Glass = 1833397363, + Brickwork = 1833071211, + Concrete = 1833132914, + Drywall = 1833202295, + Wood = 1834448228, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + public enum PhaseSpatialCategory { + [Field ("PHASESpatialCategoryDirectPathTransmission")] + DirectPathTransmission, + [Field ("PHASESpatialCategoryEarlyReflections")] + EarlyReflections, + [Field ("PHASESpatialCategoryLateReverb")] + LateReverb, + } + + [Mac (12,0), NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] + [Flags] + [Native] + public enum PhaseSpatialPipelineFlags : ulong + { + DirectPathTransmission = 1uL << 0, + EarlyReflections = 1uL << 1, + LateReverb = 1uL << 2, + } + + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASENumericPair")] + interface PhaseNumericPair + { + [Export ("initWithFirstValue:secondValue:")] + IntPtr Constructor (double first, double second); + + [Export ("first")] + double First { get; set; } + + [Export ("second")] + double Second { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEEnvelopeSegment")] + interface PhaseEnvelopeSegment + { + [Export ("initWithEndPoint:curveType:")] + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + IntPtr Constructor (Vector2d endPoint, PhaseCurveType curveType); + + [Export ("endPoint", ArgumentSemantic.Assign)] + Vector2d EndPoint { + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] get; + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] set; + } + + [Export ("curveType", ArgumentSemantic.Assign)] + PhaseCurveType CurveType { get; set; } + } + + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEEnvelope")] + [DisableDefaultCtor] + interface PhaseEnvelope + { + [Export ("initWithStartPoint:segments:")] + [DesignatedInitializer] + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + IntPtr Constructor (Vector2d startPoint, PhaseEnvelopeSegment[] segments); + + [Export ("evaluateForValue:")] + double Evaluate (double x); + + [Export ("startPoint")] + Vector2d StartPoint { + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] get; + } + + [Export ("segments", ArgumentSemantic.Copy)] + PhaseEnvelopeSegment[] Segments { get; } + + [Export ("domain", ArgumentSemantic.Strong)] + PhaseNumericPair Domain { get; } + + [Export ("range", ArgumentSemantic.Strong)] + PhaseNumericPair Range { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEDefinition")] + [DisableDefaultCtor] + interface PhaseDefinition + { + [Export ("identifier")] + string Identifier { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseDefinition), Name="PHASEMetaParameterDefinition")] + [DisableDefaultCtor] + interface PhaseMetaParameterDefinition + { + [Export ("value", ArgumentSemantic.Strong)] + NSObject Value { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseMetaParameterDefinition), Name="PHASENumberMetaParameterDefinition")] + [DisableDefaultCtor] + interface PhaseNumberMetaParameterDefinition + { + [Export ("initWithValue:identifier:")] + IntPtr Constructor (double value, string identifier); + + [Export ("initWithValue:")] + IntPtr Constructor (double value); + + [Export ("initWithValue:minimum:maximum:identifier:")] + IntPtr Constructor (double value, double minimum, double maximum, string identifier); + + [Export ("initWithValue:minimum:maximum:")] + [DesignatedInitializer] + IntPtr Constructor (double value, double minimum, double maximum); + + [Export ("minimum")] + double Minimum { get; } + + [Export ("maximum")] + double Maximum { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseMetaParameterDefinition), Name="PHASEStringMetaParameterDefinition")] + [DisableDefaultCtor] + interface PhaseStringMetaParameterDefinition + { + [Export ("initWithValue:identifier:")] + IntPtr Constructor (string value, string identifier); + + [Export ("initWithValue:")] + [DesignatedInitializer] + IntPtr Constructor (string value); + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseNumberMetaParameterDefinition), Name="PHASEMappedMetaParameterDefinition")] + [DisableDefaultCtor] + interface PhaseMappedMetaParameterDefinition + { + [Export ("initWithValue:identifier:")] + IntPtr Constructor (double value, string identifier); + + [Export ("initWithValue:minimum:maximum:")] + [DesignatedInitializer] + IntPtr Constructor (double value, double minimum, double maximum); + + [Export ("initWithInputMetaParameterDefinition:envelope:identifier:")] + IntPtr Constructor (PhaseNumberMetaParameterDefinition inputMetaParameterDefinition, PhaseEnvelope envelope, string identifier); + + [Export ("initWithInputMetaParameterDefinition:envelope:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseNumberMetaParameterDefinition inputMetaParameterDefinition, PhaseEnvelope envelope); + + [Export ("envelope", ArgumentSemantic.Strong)] + PhaseEnvelope Envelope { get; } + + [Export ("inputMetaParameterDefinition", ArgumentSemantic.Strong)] + PhaseNumberMetaParameterDefinition InputMetaParameterDefinition { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEMetaParameter")] + [DisableDefaultCtor] + interface PhaseMetaParameter + { + [Export ("identifier", ArgumentSemantic.Strong)] + string Identifier { get; } + + [Export ("value", ArgumentSemantic.Strong)] + NSObject Value { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseMetaParameter), Name="PHASEStringMetaParameter")] + [DisableDefaultCtor] + interface PhaseStringMetaParameter { } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseMetaParameter), Name="PHASENumberMetaParameter")] + [DisableDefaultCtor] + interface PhaseNumberMetaParameter + { + [Export ("minimum")] + double Minimum { get; } + + [Export ("maximum")] + double Maximum { get; } + + [Export ("fadeToValue:duration:")] + void Fade (double value, double duration); + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseDefinition), Name="PHASEMixerDefinition")] + [DisableDefaultCtor] + interface PhaseMixerDefinition + { + [Export ("gain")] + double Gain { get; set; } + + [NullAllowed, Export ("gainMetaParameterDefinition", ArgumentSemantic.Strong)] + PhaseNumberMetaParameterDefinition GainMetaParameterDefinition { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseMixerDefinition), Name="PHASESpatialMixerDefinition")] + [DisableDefaultCtor] + interface PhaseSpatialMixerDefinition + { + [Export ("initWithSpatialPipeline:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseSpatialPipeline spatialPipeline); + + [Export ("initWithSpatialPipeline:identifier:")] + IntPtr Constructor (PhaseSpatialPipeline spatialPipeline, string identifier); + + [Export ("spatialPipeline", ArgumentSemantic.Strong)] + PhaseSpatialPipeline SpatialPipeline { get; } + + [NullAllowed, Export ("distanceModelParameters", ArgumentSemantic.Strong)] + PhaseDistanceModelParameters DistanceModelParameters { get; set; } + + [NullAllowed, Export ("listenerDirectivityModelParameters", ArgumentSemantic.Strong)] + PhaseDirectivityModelParameters ListenerDirectivityModelParameters { get; set; } + + [NullAllowed, Export ("sourceDirectivityModelParameters", ArgumentSemantic.Strong)] + PhaseDirectivityModelParameters SourceDirectivityModelParameters { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseMixerDefinition), Name="PHASEAmbientMixerDefinition")] + [DisableDefaultCtor] + interface PhaseAmbientMixerDefinition + { + [Export ("initWithChannelLayout:orientation:identifier:")] + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + IntPtr Constructor (AVAudioChannelLayout layout, Quaternion orientation, NSString identifier); + + [Export ("initWithChannelLayout:orientation:")] + [DesignatedInitializer] + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + IntPtr Constructor (AVAudioChannelLayout layout, Quaternion orientation); + + [Export ("orientation")] + Quaternion Orientation { + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + get; + } + + [Export ("inputChannelLayout", ArgumentSemantic.Strong)] + AVAudioChannelLayout InputChannelLayout { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseMixerDefinition), Name="PHASEChannelMixerDefinition")] + [DisableDefaultCtor] + interface PhaseChannelMixerDefinition + { + [Export ("initWithChannelLayout:identifier:")] + IntPtr Constructor (AVAudioChannelLayout layout, string identifier); + + [Export ("initWithChannelLayout:")] + [DesignatedInitializer] + IntPtr Constructor (AVAudioChannelLayout layout); + + [Export ("inputChannelLayout", ArgumentSemantic.Strong)] + AVAudioChannelLayout InputChannelLayout { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEMixer")] + [DisableDefaultCtor] + interface PhaseMixer + { + [Export ("identifier", ArgumentSemantic.Strong)] + string Identifier { get; } + + [Export ("gain")] + double Gain { get; } + + [NullAllowed, Export ("gainMetaParameter", ArgumentSemantic.Strong)] + PhaseMetaParameter GainMetaParameter { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEMixerParameters")] + interface PhaseMixerParameters + { + [Export ("addSpatialMixerParametersWithIdentifier:source:listener:")] + void AddSpatialMixerParameters (string identifier, PhaseSource source, PhaseListener listener); + + [Export ("addAmbientMixerParametersWithIdentifier:listener:")] + void AddAmbientMixerParameters (string identifier, PhaseListener listener); + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof(NSObject), Name="PHASEGroup")] + [DisableDefaultCtor] + interface PhaseGroup + { + [Export ("initWithIdentifier:")] + [DesignatedInitializer] + IntPtr Constructor (string identifier); + + [Export ("registerWithEngine:")] + void Register (PhaseEngine engine); + + [Export ("unregisterFromEngine")] + void Unregister (); + + [Export ("fadeGain:duration:curveType:")] + void FadeGain (double gain, double duration, PhaseCurveType curveType); + + [Export ("fadeRate:duration:curveType:")] + void FadeRate (double rate, double duration, PhaseCurveType curveType); + + [Export ("mute")] + void Mute (); + + [Export ("unmute")] + void Unmute (); + + [Export ("solo")] + void Solo (); + + [Export ("unsolo")] + void Unsolo (); + + [Export ("identifier")] + string Identifier { get; } + + [Export ("gain")] + double Gain { get; set; } + + [Export ("rate")] + double Rate { get; set; } + + [Export ("muted")] + bool Muted { [Bind ("isMuted")] get; } + + [Export ("soloed")] + bool Soloed { [Bind ("isSoloed")] get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseDefinition), Name="PHASESoundEventNodeDefinition")] + [DisableDefaultCtor] + interface PhaseSoundEventNodeDefinition + { + [Export ("children", ArgumentSemantic.Copy)] + PhaseSoundEventNodeDefinition[] Children { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseSoundEventNodeDefinition), Name="PHASEGeneratorNodeDefinition")] + [DisableDefaultCtor] + interface PhaseGeneratorNodeDefinition + { + [Export ("setCalibrationMode:level:")] + void SetCalibrationMode (PhaseCalibrationMode calibrationMode, double level); + + [Export ("calibrationMode")] + PhaseCalibrationMode CalibrationMode { get; } + + [Export ("level")] + double Level { get; } + + [Export ("rate")] + double Rate { get; set; } + + [NullAllowed, Export ("group", ArgumentSemantic.Weak)] + PhaseGroup Group { get; set; } + + [NullAllowed, Export ("gainMetaParameterDefinition", ArgumentSemantic.Strong)] + PhaseNumberMetaParameterDefinition GainMetaParameterDefinition { get; set; } + + [NullAllowed, Export ("rateMetaParameterDefinition", ArgumentSemantic.Strong)] + PhaseNumberMetaParameterDefinition RateMetaParameterDefinition { get; set; } + + [Export ("mixerDefinition", ArgumentSemantic.Strong)] + PhaseMixerDefinition MixerDefinition { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseGeneratorNodeDefinition), Name="PHASESamplerNodeDefinition")] + [DisableDefaultCtor] + interface PhaseSamplerNodeDefinition + { + [Export ("initWithSoundAssetIdentifier:mixerDefinition:identifier:")] + IntPtr Constructor (string soundAssetIdentifier, PhaseMixerDefinition mixerDefinition, string identifier); + + [Export ("initWithSoundAssetIdentifier:mixerDefinition:")] + [DesignatedInitializer] + IntPtr Constructor (string soundAssetIdentifier, PhaseMixerDefinition mixerDefinition); + + [Export ("assetIdentifier", ArgumentSemantic.Strong)] + string AssetIdentifier { get; } + + [Export ("cullOption", ArgumentSemantic.Assign)] + PhaseCullOption CullOption { get; set; } + + [Export ("playbackMode", ArgumentSemantic.Assign)] + PhasePlaybackMode PlaybackMode { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseSoundEventNodeDefinition), Name="PHASEContainerNodeDefinition")] + interface PhaseContainerNodeDefinition + { + [Static] + [Export ("new")] + [return: Release] + PhaseContainerNodeDefinition Create (); + + [Export ("initWithIdentifier:")] + IntPtr Constructor (string identifier); + + [Export ("addSubtree:")] + void Add (PhaseSoundEventNodeDefinition subtree); + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseSoundEventNodeDefinition), Name="PHASEBlendNodeDefinition")] + [DisableDefaultCtor] + interface PhaseBlendNodeDefinition + { + [Export ("initWithBlendMetaParameterDefinition:identifier:")] + IntPtr Constructor (PhaseNumberMetaParameterDefinition blendMetaParameterDefinition, string identifier); + + [Export ("initWithBlendMetaParameterDefinition:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseNumberMetaParameterDefinition blendMetaParameterDefinition); + + [Export ("initDistanceBlendWithSpatialMixerDefinition:identifier:")] + IntPtr Constructor (PhaseSpatialMixerDefinition spatialMixerDefinition, string identifier); + + [Export ("initDistanceBlendWithSpatialMixerDefinition:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseSpatialMixerDefinition spatialMixerDefinition); + + [NullAllowed, Export ("blendParameterDefinition", ArgumentSemantic.Strong)] + PhaseNumberMetaParameterDefinition BlendParameterDefinition { get; } + + [NullAllowed, Export ("spatialMixerDefinitionForDistance", ArgumentSemantic.Strong)] + PhaseSpatialMixerDefinition SpatialMixerDefinitionForDistance { get; } + + [Export ("addRangeForInputValuesBelow:fullGainAtValue:fadeCurveType:subtree:")] + void AddRangeForInputValuesBelow (double value, double fullGainAtValue, PhaseCurveType fadeCurveType, PhaseSoundEventNodeDefinition subtree); + + [Export ("addRangeForInputValuesBetween:highValue:fullGainAtLowValue:fullGainAtHighValue:lowFadeCurveType:highFadeCurveType:subtree:")] + void AddRangeForInputValuesBetween (double lowValue, double highValue, double fullGainAtLowValue, double fullGainAtHighValue, PhaseCurveType lowFadeCurveType, PhaseCurveType highFadeCurveType, PhaseSoundEventNodeDefinition subtree); + + [Export ("addRangeForInputValuesAbove:fullGainAtValue:fadeCurveType:subtree:")] + void AddRangeForInputValuesAbove (double value, double fullGainAtValue, PhaseCurveType fadeCurveType, PhaseSoundEventNodeDefinition subtree); + + [Export ("addRangeWithEnvelope:subtree:")] + void AddRange (PhaseEnvelope envelope, PhaseSoundEventNodeDefinition subtree); + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseSoundEventNodeDefinition), Name="PHASESwitchNodeDefinition")] + [DisableDefaultCtor] + interface PhaseSwitchNodeDefinition + { + [Export ("initWithSwitchMetaParameterDefinition:identifier:")] + IntPtr Constructor (PhaseStringMetaParameterDefinition switchMetaParameterDefinition, string identifier); + + [Export ("initWithSwitchMetaParameterDefinition:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseStringMetaParameterDefinition switchMetaParameterDefinition); + + [Export ("addSubtree:switchValue:")] + void AddSubtree (PhaseSoundEventNodeDefinition subtree, string switchValue); + + [Export ("switchMetaParameterDefinition", ArgumentSemantic.Strong)] + PhaseStringMetaParameterDefinition SwitchMetaParameterDefinition { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof(PhaseSoundEventNodeDefinition), Name="PHASERandomNodeDefinition")] + [DisableDefaultCtor] + interface PhaseRandomNodeDefinition + { + [DesignatedInitializer] + [Export ("init")] + IntPtr Constructor (); + + [Export ("initWithIdentifier:")] + IntPtr Constructor (string identifier); + + [Export ("addSubtree:weight:")] + void AddSubtree (PhaseSoundEventNodeDefinition subtree, NSNumber weight); + + [Export ("uniqueSelectionQueueLength")] + nint UniqueSelectionQueueLength { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof(PhaseGeneratorNodeDefinition), Name="PHASEPushStreamNodeDefinition")] + [DisableDefaultCtor] + interface PhasePushStreamNodeDefinition + { + [Export ("initWithMixerDefinition:format:identifier:")] + IntPtr Constructor (PhaseMixerDefinition mixerDefinition, AVAudioFormat format, string identifier); + + [Export ("initWithMixerDefinition:format:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseMixerDefinition mixerDefinition, AVAudioFormat format); + + [Export ("format", ArgumentSemantic.Strong)] + AVAudioFormat Format { get; } + + [Export ("normalize")] + bool Normalize { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof(NSObject), Name="PHASEPushStreamNode")] + [DisableDefaultCtor] + interface PhasePushStreamNode + { + [NullAllowed, Export ("gainMetaParameter", ArgumentSemantic.Strong)] + PhaseNumberMetaParameter GainMetaParameter { get; } + + [NullAllowed, Export ("rateMetaParameter", ArgumentSemantic.Strong)] + PhaseNumberMetaParameter RateMetaParameter { get; } + + [Export ("mixer", ArgumentSemantic.Strong)] + PhaseMixer Mixer { get; } + + [Export ("format", ArgumentSemantic.Strong)] + AVAudioFormat Format { get; } + + [Export ("scheduleBuffer:")] + void ScheduleBuffer (AVAudioPcmBuffer buffer); + + [Async] + [Export ("scheduleBuffer:completionCallbackType:completionHandler:")] + void ScheduleBuffer (AVAudioPcmBuffer buffer, PhasePushStreamCompletionCallbackCondition completionCallbackCondition, Action completionHandler); + + [Export ("scheduleBuffer:atTime:options:")] + void ScheduleBuffer (AVAudioPcmBuffer buffer, [NullAllowed] AVAudioTime when, PhasePushStreamBufferOptions options); + + [Async] + [Export ("scheduleBuffer:atTime:options:completionCallbackType:completionHandler:")] + void ScheduleBuffer (AVAudioPcmBuffer buffer, [NullAllowed] AVAudioTime when, PhasePushStreamBufferOptions options, PhasePushStreamCompletionCallbackCondition completionCallbackCondition, Action completionHandler); + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEAsset")] + [DisableDefaultCtor] + interface PhaseAsset + { + [Export ("identifier")] + string Identifier { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseAsset), Name="PHASEGlobalMetaParameterAsset")] + [DisableDefaultCtor] + interface PhaseGlobalMetaParameterAsset { } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseAsset), Name="PHASESoundAsset")] + [DisableDefaultCtor] + interface PhaseSoundAsset + { + [NullAllowed, Export ("url")] + NSUrl Url { get; } + + [NullAllowed, Export ("data")] + NSData Data { get; } + + [Export ("type")] + PhaseAssetType Type { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseAsset), Name="PHASESoundEventNodeAsset")] + [DisableDefaultCtor] + interface PhaseSoundEventNodeAsset {} + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEAssetRegistry")] + [DisableDefaultCtor] + interface PhaseAssetRegistry + { + [Export ("registerGlobalMetaParameter:error:")] + [return: NullAllowed] + PhaseGlobalMetaParameterAsset RegisterGlobalMetaParameter (PhaseMetaParameterDefinition metaParameterDefinition, [NullAllowed] out NSError error); + + [Export ("registerSoundEventAssetWithRootNode:identifier:error:")] + [return: NullAllowed] + PhaseSoundEventNodeAsset RegisterSoundEventAsset (PhaseSoundEventNodeDefinition rootNode, [NullAllowed] string identifier, [NullAllowed] out NSError error); + + [Async] + [Export ("unregisterAssetWithIdentifier:completion:")] + void UnregisterAsset (string identifier, [NullAllowed] Action handler); + + [Export ("registerSoundAssetAtURL:identifier:assetType:channelLayout:normalizationMode:error:")] + [return: NullAllowed] + PhaseSoundAsset RegisterSoundAsset (NSUrl url, [NullAllowed] string identifier, PhaseAssetType assetType, [NullAllowed] AVAudioChannelLayout channelLayout, PhaseNormalizationMode normalizationMode, [NullAllowed] out NSError error); + + [Export ("registerSoundAssetWithData:identifier:format:normalizationMode:error:")] + [return: NullAllowed] + PhaseSoundAsset RegisterSoundAsset (NSData data, [NullAllowed] string identifier, AVAudioFormat format, PhaseNormalizationMode normalizationMode, [NullAllowed] out NSError error); + + [Export ("assetForIdentifier:")] + [return: NullAllowed] + PhaseAsset GetAsset (string identifier); + + [Export ("globalMetaParameters", ArgumentSemantic.Copy)] + NSDictionary GlobalMetaParameters { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof(NSObject), Name="PHASECardioidDirectivityModelSubbandParameters")] + interface PhaseCardioidDirectivityModelSubbandParameters + { + [Export ("frequency")] + double Frequency { get; set; } + + [Export ("pattern")] + double Pattern { get; set; } + + [Export ("sharpness")] + double Sharpness { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEConeDirectivityModelSubbandParameters")] + interface PhaseConeDirectivityModelSubbandParameters + { + [Export ("setInnerAngle:outerAngle:")] + void SetInnerAngle (double innerAngle, double outerAngle); + + [Export ("frequency")] + double Frequency { get; set; } + + [Export ("innerAngle")] + double InnerAngle { get; } + + [Export ("outerAngle")] + double OuterAngle { get; } + + [Export ("outerGain")] + double OuterGain { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEDirectivityModelParameters")] + [DisableDefaultCtor] + interface PhaseDirectivityModelParameters {} + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseDirectivityModelParameters), Name="PHASECardioidDirectivityModelParameters")] + [DisableDefaultCtor] + interface PhaseCardioidDirectivityModelParameters + { + [Export ("initWithSubbandParameters:")] + IntPtr Constructor (PhaseCardioidDirectivityModelSubbandParameters[] subbandParameters); + + [Export ("subbandParameters", ArgumentSemantic.Strong)] + PhaseCardioidDirectivityModelSubbandParameters[] SubbandParameters { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseDirectivityModelParameters), Name="PHASEConeDirectivityModelParameters")] + interface PhaseConeDirectivityModelParameters + { + [Export ("initWithSubbandParameters:")] + IntPtr Constructor (PhaseConeDirectivityModelSubbandParameters[] subbandParameters); + + [Export ("subbandParameters", ArgumentSemantic.Strong)] + PhaseConeDirectivityModelSubbandParameters[] SubbandParameters { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEDistanceModelFadeOutParameters")] + [DisableDefaultCtor] + interface PhaseDistanceModelFadeOutParameters + { + [Export ("initWithCullDistance:")] + [DesignatedInitializer] + IntPtr Constructor (double cullDistance); + + [Export ("cullDistance")] + double CullDistance { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEDistanceModelParameters")] + [DisableDefaultCtor] + interface PhaseDistanceModelParameters + { + [NullAllowed, Export ("fadeOutParameters", ArgumentSemantic.Strong)] + PhaseDistanceModelFadeOutParameters FadeOutParameters { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseDistanceModelParameters), Name="PHASEGeometricSpreadingDistanceModelParameters")] + interface PhaseGeometricSpreadingDistanceModelParameters + { + [Export ("rolloffFactor")] + double RolloffFactor { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseDistanceModelParameters), Name="PHASEEnvelopeDistanceModelParameters")] + [DisableDefaultCtor] + interface PhaseEnvelopeDistanceModelParameters + { + [Export ("initWithEnvelope:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseEnvelope envelope); + + [Export ("envelope", ArgumentSemantic.Strong)] + PhaseEnvelope Envelope { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEDucker")] + [DisableDefaultCtor] + interface PhaseDucker + { + [Export ("initWithEngine:sourceGroups:targetGroups:gain:attackTime:releaseTime:attackCurve:releaseCurve:")] + IntPtr Constructor (PhaseEngine engine, NSSet sourceGroups, NSSet targetGroups, double gain, double attackTime, double releaseTime, PhaseCurveType attackCurve, PhaseCurveType releaseCurve); + + [Export ("activate")] + void Activate (); + + [Export ("deactivate")] + void Deactivate (); + + [Export ("isActive")] + bool IsActive { get; } + + [Export ("sourceGroups", ArgumentSemantic.Copy)] + NSSet SourceGroups { get; } + + [Export ("targetGroups", ArgumentSemantic.Copy)] + NSSet TargetGroups { get; } + + [Export ("gain")] + double Gain { get; } + + [Export ("attackTime")] + double AttackTime { get; } + + [Export ("releaseTime")] + double ReleaseTime { get; } + + [Export ("attackCurve")] + PhaseCurveType AttackCurve { get; } + + [Export ("releaseCurve")] + PhaseCurveType ReleaseCurve { get; } + + [Export ("identifier")] + string Identifier { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEGroupPresetSetting")] + [DisableDefaultCtor] + interface PhaseGroupPresetSetting + { + [Export ("initWithGain:rate:gainCurveType:rateCurveType:")] + IntPtr Constructor (double gain, double rate, PhaseCurveType gainCurveType, PhaseCurveType rateCurveType); + + [Export ("gain")] + double Gain { get; } + + [Export ("rate")] + double Rate { get; } + + [Export ("gainCurveType")] + PhaseCurveType GainCurveType { get; } + + [Export ("rateCurveType")] + PhaseCurveType RateCurveType { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEGroupPreset")] + [DisableDefaultCtor] + interface PhaseGroupPreset + { + [Export ("initWithEngine:settings:timeToTarget:timeToReset:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseEngine engine, NSDictionary settings, double timeToTarget, double timeToReset); + + [Export ("settings")] + NSDictionary Settings { get; } + + [Export ("timeToTarget")] + double TimeToTarget { get; } + + [Export ("timeToReset")] + double TimeToReset { get; } + + [Export ("activate")] + void Activate (); + + [Export ("activateWithTimeToTargetOverride:")] + void Activate (double timeToTargetOverride); + + [Export ("deactivate")] + void Deactivate (); + + [Export ("deactivateWithTimeToResetOverride:")] + void Deactivate (double timeToResetOverride); + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEMedium")] + [DisableDefaultCtor] + interface PhaseMedium + { + [Export ("initWithEngine:preset:")] + IntPtr Constructor (PhaseEngine engine, PhaseMediumPreset preset); + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEObject")] + [DisableDefaultCtor] + interface PhaseObject : NSCopying + { + [Export ("initWithEngine:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseEngine engine); + + [Export ("addChild:error:")] + bool AddChild (PhaseObject child, [NullAllowed] out NSError error); + + [Export ("removeChild:")] + void RemoveChild (PhaseObject child); + + [Export ("removeChildren")] + void RemoveChildren (); + + [NullAllowed, Export ("parent", ArgumentSemantic.Weak)] + PhaseObject Parent { get; } + + [Export ("children", ArgumentSemantic.Copy)] + PhaseObject[] Children { get; } + + [Static] + [Export ("right")] + Vector3 Right { + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] get; + } + + [Static] + [Export ("up")] + Vector3 Up { + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] get; + } + + [Static] + [Export ("forward")] + Vector3 Forward { + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] get; + } + + [Export ("transform", ArgumentSemantic.Assign)] + NMatrix4 Transform { + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] get; + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] set; + } + + [Export ("worldTransform", ArgumentSemantic.Assign)] + NMatrix4 WorldTransform { + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] get; + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] set; + } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASESoundEvent")] + [DisableDefaultCtor] + interface PhaseSoundEvent + { + [Export ("initWithEngine:assetIdentifier:mixerParameters:error:")] + IntPtr Constructor (PhaseEngine engine, string assetIdentifier, PhaseMixerParameters mixerParameters, [NullAllowed] out NSError error); + + [Export ("initWithEngine:assetIdentifier:error:")] + IntPtr Constructor (PhaseEngine engine, string assetIdentifier, [NullAllowed] out NSError error); + + [Async] + [Export ("prepareWithCompletion:")] + void Prepare ([NullAllowed] Action completionBlock); + + [Export ("prepareAndReturnError:")] + bool Prepare ([NullAllowed] out NSError error); + + [Async] + [Export ("startWithCompletion:")] + bool Start ([NullAllowed] Action completionBlock); + + [Export ("startAndReturnError:")] + bool Start ([NullAllowed] out NSError error); + + [Async] + [Export ("seekToTime:completion:")] + bool Seek (double time, [NullAllowed] Action completionHandler); + + [Export ("pause")] + void Pause (); + + [Export ("resume")] + void Resume (); + + [Export ("stopAndInvalidate")] + void StopAndInvalidate (); + + [Export ("renderingState")] + PhaseRenderingState RenderingState { get; } + + [Export ("prepareState")] + PhaseSoundEventPrepareState PrepareState { get; } + + [Export ("metaParameters", ArgumentSemantic.Copy)] + NSDictionary MetaParameters { get; } + + [Export ("mixers", ArgumentSemantic.Copy)] + NSDictionary Mixers { get; } + + [Export ("pushStreamNodes", ArgumentSemantic.Copy)] + NSDictionary PushStreamNodes { get; } + + [Export ("indefinite")] + bool Indefinite { [Bind ("isIndefinite")] get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEEngine")] + [DisableDefaultCtor] + interface PhaseEngine + { + [Export ("initWithUpdateMode:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseUpdateMode updateMode); + + [Export ("startAndReturnError:")] + bool Start ([NullAllowed] out NSError error); + + [Export ("pause")] + void Pause (); + + [Export ("stop")] + void Stop (); + + [Export ("update")] + void Update (); + + [Export ("outputSpatializationMode", ArgumentSemantic.Assign)] + PhaseSpatializationMode OutputSpatializationMode { get; set; } + + [Export ("renderingState")] + PhaseRenderingState RenderingState { get; } + + [Export ("rootObject", ArgumentSemantic.Strong)] + PhaseObject RootObject { get; } + + [Export ("defaultMedium", ArgumentSemantic.Strong)] + PhaseMedium DefaultMedium { get; set; } + + [Export ("defaultReverbPreset", ArgumentSemantic.Assign)] + PhaseReverbPreset DefaultReverbPreset { get; set; } + + [Export ("unitsPerSecond")] + double UnitsPerSecond { get; set; } + + [Export ("unitsPerMeter")] + double UnitsPerMeter { get; set; } + + [Export ("assetRegistry", ArgumentSemantic.Strong)] + PhaseAssetRegistry AssetRegistry { get; } + + [Export ("soundEvents", ArgumentSemantic.Copy)] + PhaseSoundEvent[] SoundEvents { get; } + + [Export ("groups", ArgumentSemantic.Copy)] + NSDictionary Groups { get; } + + [Export ("duckers", ArgumentSemantic.Copy)] + PhaseDucker[] Duckers { get; } + + [NullAllowed, Export ("activeGroupPreset", ArgumentSemantic.Strong)] + PhaseGroupPreset ActiveGroupPreset { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseObject), Name="PHASEListener")] + [DisableDefaultCtor] + interface PhaseListener + { + [Export ("initWithEngine:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseEngine engine); + + [Export ("gain")] + double Gain { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEMaterial")] + [DisableDefaultCtor] + interface PhaseMaterial + { + [Export ("initWithEngine:preset:")] + IntPtr Constructor (PhaseEngine engine, PhaseMaterialPreset preset); + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEShapeElement")] + [DisableDefaultCtor] + interface PhaseShapeElement + { + [NullAllowed, Export ("material", ArgumentSemantic.Strong)] + PhaseMaterial Material { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASEShape")] + [DisableDefaultCtor] + interface PhaseShape : NSCopying + { + [Export ("initWithEngine:mesh:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseEngine engine, MDLMesh mesh); + + [Export ("initWithEngine:mesh:materials:")] + IntPtr Constructor (PhaseEngine engine, MDLMesh mesh, PhaseMaterial[] materials); + + [Export ("elements", ArgumentSemantic.Copy)] + PhaseShapeElement[] Elements { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseObject), Name="PHASEOccluder")] + [DisableDefaultCtor] + interface PhaseOccluder + { + [Export ("initWithEngine:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseEngine engine); + + [Export ("initWithEngine:shapes:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseEngine engine, PhaseShape[] shapes); + + [Export ("shapes", ArgumentSemantic.Copy)] + PhaseShape[] Shapes { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (PhaseObject), Name="PHASESource")] + [DisableDefaultCtor] + interface PhaseSource + { + [Export ("initWithEngine:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseEngine engine); + + [Export ("initWithEngine:shapes:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseEngine engine, PhaseShape[] shapes); + + [Export ("gain")] + double Gain { get; set; } + + [Export ("shapes", ArgumentSemantic.Copy)] + PhaseShape[] Shapes { get; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASESpatialPipelineEntry")] + interface PhaseSpatialPipelineEntry + { + [Export ("sendLevel")] + double SendLevel { get; set; } + + [NullAllowed, Export ("sendLevelMetaParameterDefinition", ArgumentSemantic.Strong)] + PhaseNumberMetaParameterDefinition SendLevelMetaParameterDefinition { get; set; } + } + + [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] + [BaseType (typeof (NSObject), Name="PHASESpatialPipeline")] + [DisableDefaultCtor] + interface PhaseSpatialPipeline + { + [Export ("initWithFlags:")] + [DesignatedInitializer] + IntPtr Constructor (PhaseSpatialPipelineFlags flags); + + // @property (readonly, nonatomic) PHASESpatialPipelineFlags flags; + [Export ("flags")] + PhaseSpatialPipelineFlags Flags { get; } + + [Export ("entries", ArgumentSemantic.Copy)] + NSDictionary Entries { get; } + } +} diff --git a/tests/introspection/ApiProtocolTest.cs b/tests/introspection/ApiProtocolTest.cs index c0b36a9c529c..b5fb6c816b2e 100644 --- a/tests/introspection/ApiProtocolTest.cs +++ b/tests/introspection/ApiProtocolTest.cs @@ -129,6 +129,10 @@ protected virtual bool Skip (Type type, string protocolName) return true; // Xcode 13 case "HKVerifiableClinicalRecord": + case "PKDeferredPaymentSummaryItem": + case "PKRecurringPaymentSummaryItem": + case "PKStoredValuePassProperties": + case "SNTimeDurationConstraint": // Conformance not in headers return true; } break; @@ -250,6 +254,13 @@ protected virtual bool Skip (Type type, string protocolName) return true; // Xcode 12.5 case "GCDualSenseGamepad": + // Xcode 13 + case "PKDeferredPaymentSummaryItem": + case "PKPaymentRequestCouponCodeUpdate": + case "PKRecurringPaymentSummaryItem": + case "PKStoredValuePassBalance": + case "PKStoredValuePassProperties": + case "SNTimeDurationConstraint": // Conformance not in headers return true; } break; @@ -367,6 +378,13 @@ protected virtual bool Skip (Type type, string protocolName) return true; // Xcode 12.5 case "GCDualSenseGamepad": + // xcode 13 + case "PKDeferredPaymentSummaryItem": + case "PKPaymentRequestCouponCodeUpdate": + case "PKRecurringPaymentSummaryItem": + case "PKStoredValuePassBalance": + case "PKStoredValuePassProperties": + case "SNTimeDurationConstraint": // Conformance not in headers return true; } break; diff --git a/tests/introspection/iOS/iOSApiClassPtrTest.cs b/tests/introspection/iOS/iOSApiClassPtrTest.cs index 514b26a5266f..0514b125d901 100644 --- a/tests/introspection/iOS/iOSApiClassPtrTest.cs +++ b/tests/introspection/iOS/iOSApiClassPtrTest.cs @@ -19,6 +19,13 @@ public class iOSApiClassPtrTest : ApiClassPtrTest { protected override bool Skip (Type type) { + switch (type.Namespace) { + case "Phase": // missing in the sim + if (Runtime.Arch == Arch.SIMULATOR) + return true; + break; + } + // While the following types are categories and contains a class_ptr // they are not used at all as extensions since they are just used to expose // static properties. diff --git a/tests/introspection/iOS/iOSApiFieldTest.cs b/tests/introspection/iOS/iOSApiFieldTest.cs index a68a521d235c..b29efc485c64 100644 --- a/tests/introspection/iOS/iOSApiFieldTest.cs +++ b/tests/introspection/iOS/iOSApiFieldTest.cs @@ -51,6 +51,7 @@ protected override bool Skip (PropertyInfo p) if (Class.GetHandle ("NFCNDEFReaderSession") == IntPtr.Zero) return true; break; + case "Phase": case "DeviceCheck": // Only available on device if (Runtime.Arch == Arch.SIMULATOR) return true; @@ -158,4 +159,4 @@ protected override bool Skip (string constantName, string libraryName) } } } -} \ No newline at end of file +} diff --git a/tests/introspection/iOS/iOSApiProtocolTest.cs b/tests/introspection/iOS/iOSApiProtocolTest.cs index a26eef66a0d2..7c09fc8aad03 100644 --- a/tests/introspection/iOS/iOSApiProtocolTest.cs +++ b/tests/introspection/iOS/iOSApiProtocolTest.cs @@ -39,6 +39,7 @@ protected override bool Skip (Type type) case "MonoTouch.MetalPerformanceShaders": case "MLCompute": case "MediaSetup": + case "Phase": if (Runtime.Arch == Arch.SIMULATOR) return true; break; @@ -441,12 +442,6 @@ protected override bool Skip (Type type, string protocolName) case "ARSkeletonDefinition": // device only case "ARVideoFormat": // device only case "NSMergePolicy": - case "SNTimeDurationConstraint": // Conformance not in headers - case "PKDeferredPaymentSummaryItem": - case "PKPaymentRequestCouponCodeUpdate": - case "PKRecurringPaymentSummaryItem": - case "PKStoredValuePassBalance": - case "PKStoredValuePassProperties": case "SFSafariViewControllerPrewarmingToken": // conformance not in headers case "SRTextInputSession": // conformance not in headers return true; @@ -688,12 +683,6 @@ protected override bool Skip (Type type, string protocolName) case "ARSkeletonDefinition": // device only case "ARVideoFormat": // device only case "NSMergePolicy": - case "SNTimeDurationConstraint": // Conformance not in headers - case "PKDeferredPaymentSummaryItem": - case "PKPaymentRequestCouponCodeUpdate": - case "PKRecurringPaymentSummaryItem": - case "PKStoredValuePassBalance": - case "PKStoredValuePassProperties": case "SFSafariViewControllerPrewarmingToken": // conformance not in headers case "SRTextInputSession": // conformance not in headers return true; @@ -779,10 +768,6 @@ protected override bool Skip (Type type, string protocolName) case "NSMappingModel": case "NSMergePolicy": case "NSPropertyMapping": - case "SNTimeDurationConstraint": // Conformance not in headers" - case "PKDeferredPaymentSummaryItem": - case "PKRecurringPaymentSummaryItem": - case "PKStoredValuePassProperties": return true; } break; diff --git a/tests/introspection/iOS/iOSApiSelectorTest.cs b/tests/introspection/iOS/iOSApiSelectorTest.cs index c7d453131139..0af8fde622b1 100644 --- a/tests/introspection/iOS/iOSApiSelectorTest.cs +++ b/tests/introspection/iOS/iOSApiSelectorTest.cs @@ -53,6 +53,7 @@ protected override bool Skip (Type type) case "MonoTouch.MetalKit": case "MetalPerformanceShaders": case "MonoTouch.MetalPerformanceShaders": + case "Phase": if (Runtime.Arch == Arch.SIMULATOR) return true; break; diff --git a/tests/monotouch-test/Phase/PhaseAmbientMixerDefinitionTest.cs b/tests/monotouch-test/Phase/PhaseAmbientMixerDefinitionTest.cs new file mode 100644 index 000000000000..4370d5b0876e --- /dev/null +++ b/tests/monotouch-test/Phase/PhaseAmbientMixerDefinitionTest.cs @@ -0,0 +1,61 @@ +#if __IOS__ || MONOMAC + +using System; + +using CoreGraphics; +using Foundation; +using ObjCRuntime; +using Phase; + +using OpenTK; +using NUnit.Framework; +using AVFoundation; +using AudioToolbox; + +#nullable enable + +namespace MonoTouchFixtures.Phase +{ + + [TestFixture] + // we want the test to be available if we use the linker + [Preserve (AllMembers = true)] + public class PhaseAmbientMixerDefinitionTest { + + [SetUp] + public void Setup () + { + TestRuntime.AssertXcodeVersion (13, 0); + // not supported in simulator + TestRuntime.AssertDevice (); + } + + [Test] + public void TestConstructor () + { + var orientation = new Quaternion (1, 2, 1, 1); + var audioChannelLayout = new AudioChannelLayout { + Tag = (int) AudioChannelLayoutTag.UseChannelDescriptions, + Bitmap = 0, + Channels = new AudioChannelDescription [] { + new AudioChannelDescription { + Flags = AudioChannelFlags.AllOff, + Label = AudioChannelLabel.Discrete_4, + Coords = new float [] { 0, 0, 0}, + }, + new AudioChannelDescription { + Flags = AudioChannelFlags.AllOff, + Label = AudioChannelLabel.Discrete_5, + Coords = new float [] { 0, 0, 0}, + } + } + }; + using (var layout = new AVAudioChannelLayout (audioChannelLayout)) + using (var mixer = new PhaseAmbientMixerDefinition (layout, orientation)) { + Assert.AreEqual (orientation, mixer.Orientation); + } + } + } +} + +#endif // __IOS__ || MONOMAC diff --git a/tests/monotouch-test/Phase/PhaseEnvelopeSegmentTest.cs b/tests/monotouch-test/Phase/PhaseEnvelopeSegmentTest.cs new file mode 100644 index 000000000000..265b7a7a14c2 --- /dev/null +++ b/tests/monotouch-test/Phase/PhaseEnvelopeSegmentTest.cs @@ -0,0 +1,47 @@ +#if __IOS__ || MONOMAC + +using System; + +using CoreGraphics; +using Foundation; +using ObjCRuntime; +using Phase; + +using OpenTK; +using NUnit.Framework; + +#nullable enable + +namespace MonoTouchFixtures.Phase +{ + + [TestFixture] + // we want the test to be available if we use the linker + [Preserve (AllMembers = true)] + public class PhaseEnvelopeSegmentTest + { + + [SetUp] + public void Setup () + { + TestRuntime.AssertXcodeVersion (13, 0); + // not supported in simulator + TestRuntime.AssertDevice (); + } + + [Test] + public void ConstructorTest () + { + var endPoint = new Vector2d (1,2); + using (var segment = new PhaseEnvelopeSegment (endPoint, PhaseCurveType.Cubed)) { + Assert.AreEqual (endPoint, segment.EndPoint); + var newEndPoint = new Vector2d (2, 1); + segment.EndPoint = newEndPoint; + Assert.AreEqual (newEndPoint, segment.EndPoint); + } + } + + } +} + +#endif // __IOS__ || MONOMAC diff --git a/tests/monotouch-test/Phase/PhaseEnvelopeTest.cs b/tests/monotouch-test/Phase/PhaseEnvelopeTest.cs new file mode 100644 index 000000000000..f566349e75d5 --- /dev/null +++ b/tests/monotouch-test/Phase/PhaseEnvelopeTest.cs @@ -0,0 +1,45 @@ +#if __IOS__ || MONOMAC + +using System; + +using CoreGraphics; +using Foundation; +using ObjCRuntime; +using Phase; + +using OpenTK; +using NUnit.Framework; + +#nullable enable + +namespace MonoTouchFixtures.Phase +{ + + [TestFixture] + // we want the test to be available if we use the linker + [Preserve (AllMembers = true)] + public class PhaseEnvelopeTest + { + + [SetUp] + public void Setup () + { + TestRuntime.AssertXcodeVersion (13, 0); + // not supported in simulator + TestRuntime.AssertDevice (); + } + + [Test] + public void ConstructorTest () + { + var start = new Vector2d (1,2); + using (var envelope = new PhaseEnvelope (start, new PhaseEnvelopeSegment [] {})) { + // assert we do get the start vector + Assert.AreEqual (start, envelope.StartPoint); + } + } + + } +} + +#endif // __IOS__ || MONOMAC diff --git a/tests/monotouch-test/Phase/PhaseObjectTest.cs b/tests/monotouch-test/Phase/PhaseObjectTest.cs new file mode 100644 index 000000000000..061149c43a70 --- /dev/null +++ b/tests/monotouch-test/Phase/PhaseObjectTest.cs @@ -0,0 +1,84 @@ +#if __IOS__ || MONOMAC + +using System; + +using CoreGraphics; +using Foundation; +using ObjCRuntime; +using Phase; + +using NUnit.Framework; + +#nullable enable + +namespace MonoTouchFixtures.Phase +{ + + [TestFixture] + // we want the test to be available if we use the linker + [Preserve (AllMembers = true)] + public class PhaseObjectTest + { + PhaseEngine? engine; + PhaseObject? phaseObject; + + [SetUp] + public void Setup () + { + TestRuntime.AssertXcodeVersion (13, 0); + // not supported in simulator + TestRuntime.AssertDevice (); + engine = new PhaseEngine (PhaseUpdateMode.Automatic); + phaseObject = new PhaseObject (engine); + } + + [TearDown] + public void TearDown () + { + phaseObject?.Dispose (); + engine?.Dispose (); + } + + [Test] + public void RigthTest () { + var right = PhaseObject.Right; + Assert.NotNull (right, "not null"); + Assert.AreEqual (1, right.Length, "length"); + } + + [Test] + public void UpTest () + { + var up = PhaseObject.Up; + Assert.NotNull (up, "not null"); + Assert.AreEqual (1, up.Length, "length"); + } + + [Test] + public void ForwardTest () + { + var fwd = PhaseObject.Forward; + Assert.NotNull (fwd, "not null"); + Assert.AreEqual (1, fwd.Length, "length"); + } + + [Test] + public void TransformTest () + { + var matrix = phaseObject.Transform; + Assert.NotNull (matrix, "not null"); + Assert.AreEqual (1, matrix.M11, "11"); + } + + [Test] + public void WorldTransform () + { + var matrix = phaseObject.WorldTransform; + Assert.NotNull (matrix, "not null"); + Assert.AreEqual (1, matrix.M11, "11"); + } + + } +} + +#endif // __IOS__ || MONOMAC diff --git a/tests/xtro-sharpie/MacCatalyst-MLCompute.todo b/tests/xtro-sharpie/MacCatalyst-MLCompute.todo deleted file mode 100644 index 05f7c59e8fc7..000000000000 --- a/tests/xtro-sharpie/MacCatalyst-MLCompute.todo +++ /dev/null @@ -1,37 +0,0 @@ -!missing-enum! MLCGradientClippingType not bound -!missing-enum-value! MLCDataType native value MLCDataTypeCount = 10 not bound -!missing-enum-value! MLCDataType native value MLCDataTypeFloat16 = 3 not bound -!missing-enum-value! MLCDataType native value MLCDataTypeInt8 = 8 not bound -!missing-enum-value! MLCDataType native value MLCDataTypeUInt8 = 9 not bound -!missing-enum-value! MLCDeviceType native value MLCDeviceTypeANE = 3 not bound -!missing-enum-value! MLCDeviceType native value MLCDeviceTypeCount = 4 not bound -!missing-enum-value! MLCExecutionOptions native value MLCExecutionOptionsPerLayerProfiling = 16 not bound -!missing-pinvoke! MLCGradientClippingTypeDebugDescription is not bound -!missing-selector! +MLCAdamOptimizer::optimizerWithDescriptor:beta1:beta2:epsilon:usesAMSGrad:timeStep: not bound -!missing-selector! +MLCAdamWOptimizer::optimizerWithDescriptor: not bound -!missing-selector! +MLCAdamWOptimizer::optimizerWithDescriptor:beta1:beta2:epsilon:usesAMSGrad:timeStep: not bound -!missing-selector! +MLCDevice::aneDevice not bound -!missing-selector! +MLCOptimizerDescriptor::descriptorWithLearningRate:gradientRescale:appliesGradientClipping:gradientClippingType:gradientClipMax:gradientClipMin:maximumClippingNorm:customGlobalNorm:regularizationType:regularizationScale: not bound -!missing-selector! +MLCPlatform::getRNGseed not bound -!missing-selector! +MLCPlatform::setRNGSeedTo: not bound -!missing-selector! +MLCTensor::tensorWithShape:randomInitializerType:dataType: not bound -!missing-selector! MLCAdamOptimizer::usesAMSGrad not bound -!missing-selector! MLCAdamWOptimizer::beta1 not bound -!missing-selector! MLCAdamWOptimizer::beta2 not bound -!missing-selector! MLCAdamWOptimizer::epsilon not bound -!missing-selector! MLCAdamWOptimizer::timeStep not bound -!missing-selector! MLCAdamWOptimizer::usesAMSGrad not bound -!missing-selector! MLCDevice::actualDeviceType not bound -!missing-selector! MLCLayer::deviceType not bound -!missing-selector! MLCOptimizer::customGlobalNorm not bound -!missing-selector! MLCOptimizer::gradientClippingType not bound -!missing-selector! MLCOptimizer::maximumClippingNorm not bound -!missing-selector! MLCOptimizerDescriptor::customGlobalNorm not bound -!missing-selector! MLCOptimizerDescriptor::gradientClippingType not bound -!missing-selector! MLCOptimizerDescriptor::maximumClippingNorm not bound -!missing-selector! MLCTensor::tensorByDequantizingToType:scale:bias: not bound -!missing-selector! MLCTensor::tensorByDequantizingToType:scale:bias:axis: not bound -!missing-selector! MLCTensor::tensorByQuantizingToType:scale:bias: not bound -!missing-selector! MLCTensor::tensorByQuantizingToType:scale:bias:axis: not bound -!missing-type! MLCAdamWOptimizer not bound -!missing-type! MLCPlatform not bound diff --git a/tests/xtro-sharpie/MacCatalyst-ModelIO.todo b/tests/xtro-sharpie/MacCatalyst-ModelIO.todo deleted file mode 100644 index b35fadc18a8b..000000000000 --- a/tests/xtro-sharpie/MacCatalyst-ModelIO.todo +++ /dev/null @@ -1,5 +0,0 @@ -!missing-enum-value! MDLMaterialPropertyType native value MDLMaterialPropertyTypeBuffer = 10 not bound -!missing-enum-value! MDLMeshBufferType native value MDLMeshBufferTypeCustom = 3 not bound -!missing-field! kUTTypeUniversalSceneDescriptionMobile not bound -!missing-selector! MDLAsset::originals not bound -!missing-selector! MDLAsset::setOriginals: not bound diff --git a/tests/xtro-sharpie/MacCatalyst-PHASE.todo b/tests/xtro-sharpie/MacCatalyst-PHASE.todo deleted file mode 100644 index e177c5643f7f..000000000000 --- a/tests/xtro-sharpie/MacCatalyst-PHASE.todo +++ /dev/null @@ -1,359 +0,0 @@ -!missing-enum! PHASEAssetError not bound -!missing-enum! PHASEAssetType not bound -!missing-enum! PHASECalibrationMode not bound -!missing-enum! PHASECullOption not bound -!missing-enum! PHASECurveType not bound -!missing-enum! PHASEError not bound -!missing-enum! PHASEMaterialPreset not bound -!missing-enum! PHASEMediumPreset not bound -!missing-enum! PHASENormalizationMode not bound -!missing-enum! PHASEPlaybackMode not bound -!missing-enum! PHASEPushStreamBufferOptions not bound -!missing-enum! PHASEPushStreamCompletionCallbackCondition not bound -!missing-enum! PHASERenderingState not bound -!missing-enum! PHASEReverbPreset not bound -!missing-enum! PHASESoundEventError not bound -!missing-enum! PHASESoundEventPrepareHandlerReason not bound -!missing-enum! PHASESoundEventPrepareState not bound -!missing-enum! PHASESoundEventSeekHandlerReason not bound -!missing-enum! PHASESoundEventStartHandlerReason not bound -!missing-enum! PHASESpatialPipelineFlags not bound -!missing-enum! PHASESpatializationMode not bound -!missing-enum! PHASEUpdateMode not bound -!missing-field! PHASEAssetErrorDomain not bound -!missing-field! PHASEErrorDomain not bound -!missing-field! PHASESoundEventErrorDomain not bound -!missing-field! PHASESpatialCategoryDirectPathTransmission not bound -!missing-field! PHASESpatialCategoryEarlyReflections not bound -!missing-field! PHASESpatialCategoryLateReverb not bound -!missing-selector! +PHASEObject::forward not bound -!missing-selector! +PHASEObject::right not bound -!missing-selector! +PHASEObject::up not bound -!missing-selector! PHASEAmbientMixerDefinition::initWithChannelLayout:orientation: not bound -!missing-selector! PHASEAmbientMixerDefinition::initWithChannelLayout:orientation:identifier: not bound -!missing-selector! PHASEAmbientMixerDefinition::inputChannelLayout not bound -!missing-selector! PHASEAmbientMixerDefinition::orientation not bound -!missing-selector! PHASEAsset::identifier not bound -!missing-selector! PHASEAssetRegistry::assetForIdentifier: not bound -!missing-selector! PHASEAssetRegistry::globalMetaParameters not bound -!missing-selector! PHASEAssetRegistry::registerGlobalMetaParameter:error: not bound -!missing-selector! PHASEAssetRegistry::registerSoundAssetAtURL:identifier:assetType:channelLayout:normalizationMode:error: not bound -!missing-selector! PHASEAssetRegistry::registerSoundAssetWithData:identifier:format:normalizationMode:error: not bound -!missing-selector! PHASEAssetRegistry::registerSoundEventAssetWithRootNode:identifier:error: not bound -!missing-selector! PHASEAssetRegistry::unregisterAssetWithIdentifier:completion: not bound -!missing-selector! PHASEBlendNodeDefinition::addRangeForInputValuesAbove:fullGainAtValue:fadeCurveType:subtree: not bound -!missing-selector! PHASEBlendNodeDefinition::addRangeForInputValuesBelow:fullGainAtValue:fadeCurveType:subtree: not bound -!missing-selector! PHASEBlendNodeDefinition::addRangeForInputValuesBetween:highValue:fullGainAtLowValue:fullGainAtHighValue:lowFadeCurveType:highFadeCurveType:subtree: not bound -!missing-selector! PHASEBlendNodeDefinition::addRangeWithEnvelope:subtree: not bound -!missing-selector! PHASEBlendNodeDefinition::blendParameterDefinition not bound -!missing-selector! PHASEBlendNodeDefinition::initDistanceBlendWithSpatialMixerDefinition: not bound -!missing-selector! PHASEBlendNodeDefinition::initDistanceBlendWithSpatialMixerDefinition:identifier: not bound -!missing-selector! PHASEBlendNodeDefinition::initWithBlendMetaParameterDefinition: not bound -!missing-selector! PHASEBlendNodeDefinition::initWithBlendMetaParameterDefinition:identifier: not bound -!missing-selector! PHASEBlendNodeDefinition::spatialMixerDefinitionForDistance not bound -!missing-selector! PHASECardioidDirectivityModelParameters::initWithSubbandParameters: not bound -!missing-selector! PHASECardioidDirectivityModelParameters::subbandParameters not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::frequency not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::init not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::pattern not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::setFrequency: not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::setPattern: not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::setSharpness: not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::sharpness not bound -!missing-selector! PHASEChannelMixerDefinition::initWithChannelLayout: not bound -!missing-selector! PHASEChannelMixerDefinition::initWithChannelLayout:identifier: not bound -!missing-selector! PHASEChannelMixerDefinition::inputChannelLayout not bound -!missing-selector! PHASEConeDirectivityModelParameters::initWithSubbandParameters: not bound -!missing-selector! PHASEConeDirectivityModelParameters::subbandParameters not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::frequency not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::init not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::innerAngle not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::outerAngle not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::outerGain not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::setFrequency: not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::setInnerAngle:outerAngle: not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::setOuterGain: not bound -!missing-selector! PHASEContainerNodeDefinition::addSubtree: not bound -!missing-selector! PHASEContainerNodeDefinition::init not bound -!missing-selector! PHASEContainerNodeDefinition::initWithIdentifier: not bound -!missing-selector! PHASEDefinition::identifier not bound -!missing-selector! PHASEDistanceModelFadeOutParameters::cullDistance not bound -!missing-selector! PHASEDistanceModelFadeOutParameters::initWithCullDistance: not bound -!missing-selector! PHASEDistanceModelParameters::fadeOutParameters not bound -!missing-selector! PHASEDistanceModelParameters::setFadeOutParameters: not bound -!missing-selector! PHASEDucker::activate not bound -!missing-selector! PHASEDucker::attackCurve not bound -!missing-selector! PHASEDucker::attackTime not bound -!missing-selector! PHASEDucker::deactivate not bound -!missing-selector! PHASEDucker::gain not bound -!missing-selector! PHASEDucker::identifier not bound -!missing-selector! PHASEDucker::initWithEngine:sourceGroups:targetGroups:gain:attackTime:releaseTime:attackCurve:releaseCurve: not bound -!missing-selector! PHASEDucker::isActive not bound -!missing-selector! PHASEDucker::releaseCurve not bound -!missing-selector! PHASEDucker::releaseTime not bound -!missing-selector! PHASEDucker::sourceGroups not bound -!missing-selector! PHASEDucker::targetGroups not bound -!missing-selector! PHASEEngine::activeGroupPreset not bound -!missing-selector! PHASEEngine::assetRegistry not bound -!missing-selector! PHASEEngine::defaultMedium not bound -!missing-selector! PHASEEngine::defaultReverbPreset not bound -!missing-selector! PHASEEngine::duckers not bound -!missing-selector! PHASEEngine::groups not bound -!missing-selector! PHASEEngine::initWithUpdateMode: not bound -!missing-selector! PHASEEngine::outputSpatializationMode not bound -!missing-selector! PHASEEngine::pause not bound -!missing-selector! PHASEEngine::renderingState not bound -!missing-selector! PHASEEngine::rootObject not bound -!missing-selector! PHASEEngine::setDefaultMedium: not bound -!missing-selector! PHASEEngine::setDefaultReverbPreset: not bound -!missing-selector! PHASEEngine::setOutputSpatializationMode: not bound -!missing-selector! PHASEEngine::setUnitsPerMeter: not bound -!missing-selector! PHASEEngine::setUnitsPerSecond: not bound -!missing-selector! PHASEEngine::soundEvents not bound -!missing-selector! PHASEEngine::startAndReturnError: not bound -!missing-selector! PHASEEngine::stop not bound -!missing-selector! PHASEEngine::unitsPerMeter not bound -!missing-selector! PHASEEngine::unitsPerSecond not bound -!missing-selector! PHASEEngine::update not bound -!missing-selector! PHASEEnvelope::domain not bound -!missing-selector! PHASEEnvelope::evaluateForValue: not bound -!missing-selector! PHASEEnvelope::initWithStartPoint:segments: not bound -!missing-selector! PHASEEnvelope::range not bound -!missing-selector! PHASEEnvelope::segments not bound -!missing-selector! PHASEEnvelope::startPoint not bound -!missing-selector! PHASEEnvelopeDistanceModelParameters::envelope not bound -!missing-selector! PHASEEnvelopeDistanceModelParameters::initWithEnvelope: not bound -!missing-selector! PHASEEnvelopeSegment::curveType not bound -!missing-selector! PHASEEnvelopeSegment::endPoint not bound -!missing-selector! PHASEEnvelopeSegment::initWithEndPoint:curveType: not bound -!missing-selector! PHASEEnvelopeSegment::setCurveType: not bound -!missing-selector! PHASEEnvelopeSegment::setEndPoint: not bound -!missing-selector! PHASEGeneratorNodeDefinition::calibrationMode not bound -!missing-selector! PHASEGeneratorNodeDefinition::gainMetaParameterDefinition not bound -!missing-selector! PHASEGeneratorNodeDefinition::group not bound -!missing-selector! PHASEGeneratorNodeDefinition::level not bound -!missing-selector! PHASEGeneratorNodeDefinition::mixerDefinition not bound -!missing-selector! PHASEGeneratorNodeDefinition::rate not bound -!missing-selector! PHASEGeneratorNodeDefinition::rateMetaParameterDefinition not bound -!missing-selector! PHASEGeneratorNodeDefinition::setCalibrationMode:level: not bound -!missing-selector! PHASEGeneratorNodeDefinition::setGainMetaParameterDefinition: not bound -!missing-selector! PHASEGeneratorNodeDefinition::setGroup: not bound -!missing-selector! PHASEGeneratorNodeDefinition::setRate: not bound -!missing-selector! PHASEGeneratorNodeDefinition::setRateMetaParameterDefinition: not bound -!missing-selector! PHASEGeneratorParameters::gain not bound -!missing-selector! PHASEGeneratorParameters::rate not bound -!missing-selector! PHASEGeneratorParameters::setGain: not bound -!missing-selector! PHASEGeneratorParameters::setRate: not bound -!missing-selector! PHASEGeometricSpreadingDistanceModelParameters::init not bound -!missing-selector! PHASEGeometricSpreadingDistanceModelParameters::rolloffFactor not bound -!missing-selector! PHASEGeometricSpreadingDistanceModelParameters::setRolloffFactor: not bound -!missing-selector! PHASEGroup::fadeGain:duration:curveType: not bound -!missing-selector! PHASEGroup::fadeRate:duration:curveType: not bound -!missing-selector! PHASEGroup::gain not bound -!missing-selector! PHASEGroup::identifier not bound -!missing-selector! PHASEGroup::initWithIdentifier: not bound -!missing-selector! PHASEGroup::isMuted not bound -!missing-selector! PHASEGroup::isSoloed not bound -!missing-selector! PHASEGroup::mute not bound -!missing-selector! PHASEGroup::rate not bound -!missing-selector! PHASEGroup::registerWithEngine: not bound -!missing-selector! PHASEGroup::setGain: not bound -!missing-selector! PHASEGroup::setRate: not bound -!missing-selector! PHASEGroup::solo not bound -!missing-selector! PHASEGroup::unmute not bound -!missing-selector! PHASEGroup::unregisterFromEngine not bound -!missing-selector! PHASEGroup::unsolo not bound -!missing-selector! PHASEGroupPreset::activate not bound -!missing-selector! PHASEGroupPreset::activateWithTimeToTargetOverride: not bound -!missing-selector! PHASEGroupPreset::deactivate not bound -!missing-selector! PHASEGroupPreset::deactivateWithTimeToResetOverride: not bound -!missing-selector! PHASEGroupPreset::initWithEngine:settings:timeToTarget:timeToReset: not bound -!missing-selector! PHASEGroupPreset::settings not bound -!missing-selector! PHASEGroupPreset::timeToReset not bound -!missing-selector! PHASEGroupPreset::timeToTarget not bound -!missing-selector! PHASEGroupPresetSetting::gain not bound -!missing-selector! PHASEGroupPresetSetting::gainCurveType not bound -!missing-selector! PHASEGroupPresetSetting::initWithGain:rate:gainCurveType:rateCurveType: not bound -!missing-selector! PHASEGroupPresetSetting::rate not bound -!missing-selector! PHASEGroupPresetSetting::rateCurveType not bound -!missing-selector! PHASEListener::gain not bound -!missing-selector! PHASEListener::initWithEngine: not bound -!missing-selector! PHASEListener::setGain: not bound -!missing-selector! PHASEMappedMetaParameterDefinition::envelope not bound -!missing-selector! PHASEMappedMetaParameterDefinition::initWithInputMetaParameterDefinition:envelope: not bound -!missing-selector! PHASEMappedMetaParameterDefinition::initWithInputMetaParameterDefinition:envelope:identifier: not bound -!missing-selector! PHASEMappedMetaParameterDefinition::inputMetaParameterDefinition not bound -!missing-selector! PHASEMaterial::initWithEngine:preset: not bound -!missing-selector! PHASEMedium::initWithEngine:preset: not bound -!missing-selector! PHASEMetaParameter::identifier not bound -!missing-selector! PHASEMetaParameter::setValue: not bound -!missing-selector! PHASEMetaParameter::value not bound -!missing-selector! PHASEMetaParameterDefinition::value not bound -!missing-selector! PHASEMixer::gain not bound -!missing-selector! PHASEMixer::gainMetaParameter not bound -!missing-selector! PHASEMixer::identifier not bound -!missing-selector! PHASEMixerDefinition::gain not bound -!missing-selector! PHASEMixerDefinition::gainMetaParameterDefinition not bound -!missing-selector! PHASEMixerDefinition::setGain: not bound -!missing-selector! PHASEMixerDefinition::setGainMetaParameterDefinition: not bound -!missing-selector! PHASEMixerParameters::addAmbientMixerParametersWithIdentifier:listener: not bound -!missing-selector! PHASEMixerParameters::addSpatialMixerParametersWithIdentifier:source:listener: not bound -!missing-selector! PHASENumberMetaParameter::fadeToValue:duration: not bound -!missing-selector! PHASENumberMetaParameter::maximum not bound -!missing-selector! PHASENumberMetaParameter::minimum not bound -!missing-selector! PHASENumberMetaParameterDefinition::initWithValue: not bound -!missing-selector! PHASENumberMetaParameterDefinition::initWithValue:identifier: not bound -!missing-selector! PHASENumberMetaParameterDefinition::initWithValue:minimum:maximum: not bound -!missing-selector! PHASENumberMetaParameterDefinition::initWithValue:minimum:maximum:identifier: not bound -!missing-selector! PHASENumberMetaParameterDefinition::maximum not bound -!missing-selector! PHASENumberMetaParameterDefinition::minimum not bound -!missing-selector! PHASENumericPair::first not bound -!missing-selector! PHASENumericPair::initWithFirstValue:secondValue: not bound -!missing-selector! PHASENumericPair::second not bound -!missing-selector! PHASENumericPair::setFirst: not bound -!missing-selector! PHASENumericPair::setSecond: not bound -!missing-selector! PHASEObject::addChild:error: not bound -!missing-selector! PHASEObject::children not bound -!missing-selector! PHASEObject::initWithEngine: not bound -!missing-selector! PHASEObject::parent not bound -!missing-selector! PHASEObject::removeChild: not bound -!missing-selector! PHASEObject::removeChildren not bound -!missing-selector! PHASEObject::setTransform: not bound -!missing-selector! PHASEObject::setWorldTransform: not bound -!missing-selector! PHASEObject::transform not bound -!missing-selector! PHASEObject::worldTransform not bound -!missing-selector! PHASEOccluder::initWithEngine:shapes: not bound -!missing-selector! PHASEOccluder::shapes not bound -!missing-selector! PHASEPushStreamNode::format not bound -!missing-selector! PHASEPushStreamNode::gainMetaParameter not bound -!missing-selector! PHASEPushStreamNode::mixer not bound -!missing-selector! PHASEPushStreamNode::rateMetaParameter not bound -!missing-selector! PHASEPushStreamNode::scheduleBuffer: not bound -!missing-selector! PHASEPushStreamNode::scheduleBuffer:atTime:options: not bound -!missing-selector! PHASEPushStreamNode::scheduleBuffer:atTime:options:completionCallbackType:completionHandler: not bound -!missing-selector! PHASEPushStreamNode::scheduleBuffer:completionCallbackType:completionHandler: not bound -!missing-selector! PHASEPushStreamNodeDefinition::format not bound -!missing-selector! PHASEPushStreamNodeDefinition::initWithMixerDefinition:format: not bound -!missing-selector! PHASEPushStreamNodeDefinition::initWithMixerDefinition:format:identifier: not bound -!missing-selector! PHASEPushStreamNodeDefinition::normalize not bound -!missing-selector! PHASEPushStreamNodeDefinition::setNormalize: not bound -!missing-selector! PHASERandomNodeDefinition::addSubtree:weight: not bound -!missing-selector! PHASERandomNodeDefinition::init not bound -!missing-selector! PHASERandomNodeDefinition::initWithIdentifier: not bound -!missing-selector! PHASERandomNodeDefinition::setUniqueSelectionQueueLength: not bound -!missing-selector! PHASERandomNodeDefinition::uniqueSelectionQueueLength not bound -!missing-selector! PHASESamplerNodeDefinition::assetIdentifier not bound -!missing-selector! PHASESamplerNodeDefinition::cullOption not bound -!missing-selector! PHASESamplerNodeDefinition::initWithSoundAssetIdentifier:mixerDefinition: not bound -!missing-selector! PHASESamplerNodeDefinition::initWithSoundAssetIdentifier:mixerDefinition:identifier: not bound -!missing-selector! PHASESamplerNodeDefinition::playbackMode not bound -!missing-selector! PHASESamplerNodeDefinition::setCullOption: not bound -!missing-selector! PHASESamplerNodeDefinition::setPlaybackMode: not bound -!missing-selector! PHASEShape::elements not bound -!missing-selector! PHASEShape::initWithEngine:mesh: not bound -!missing-selector! PHASEShape::initWithEngine:mesh:materials: not bound -!missing-selector! PHASEShapeElement::material not bound -!missing-selector! PHASEShapeElement::setMaterial: not bound -!missing-selector! PHASESoundAsset::data not bound -!missing-selector! PHASESoundAsset::type not bound -!missing-selector! PHASESoundAsset::url not bound -!missing-selector! PHASESoundEvent::initWithEngine:assetIdentifier:error: not bound -!missing-selector! PHASESoundEvent::initWithEngine:assetIdentifier:mixerParameters:error: not bound -!missing-selector! PHASESoundEvent::isIndefinite not bound -!missing-selector! PHASESoundEvent::metaParameters not bound -!missing-selector! PHASESoundEvent::mixers not bound -!missing-selector! PHASESoundEvent::pause not bound -!missing-selector! PHASESoundEvent::prepareState not bound -!missing-selector! PHASESoundEvent::prepareWithCompletion: not bound -!missing-selector! PHASESoundEvent::pushStreamNodes not bound -!missing-selector! PHASESoundEvent::renderingState not bound -!missing-selector! PHASESoundEvent::resume not bound -!missing-selector! PHASESoundEvent::seekToTime:completion: not bound -!missing-selector! PHASESoundEvent::startWithCompletion: not bound -!missing-selector! PHASESoundEvent::stopAndInvalidate not bound -!missing-selector! PHASESoundEventNodeDefinition::children not bound -!missing-selector! PHASESource::gain not bound -!missing-selector! PHASESource::initWithEngine: not bound -!missing-selector! PHASESource::initWithEngine:shapes: not bound -!missing-selector! PHASESource::setGain: not bound -!missing-selector! PHASESource::shapes not bound -!missing-selector! PHASESpatialMixerDefinition::distanceModelParameters not bound -!missing-selector! PHASESpatialMixerDefinition::initWithSpatialPipeline: not bound -!missing-selector! PHASESpatialMixerDefinition::initWithSpatialPipeline:identifier: not bound -!missing-selector! PHASESpatialMixerDefinition::listenerDirectivityModelParameters not bound -!missing-selector! PHASESpatialMixerDefinition::setDistanceModelParameters: not bound -!missing-selector! PHASESpatialMixerDefinition::setListenerDirectivityModelParameters: not bound -!missing-selector! PHASESpatialMixerDefinition::setSourceDirectivityModelParameters: not bound -!missing-selector! PHASESpatialMixerDefinition::sourceDirectivityModelParameters not bound -!missing-selector! PHASESpatialMixerDefinition::spatialPipeline not bound -!missing-selector! PHASESpatialPipeline::entries not bound -!missing-selector! PHASESpatialPipeline::flags not bound -!missing-selector! PHASESpatialPipeline::initWithFlags: not bound -!missing-selector! PHASESpatialPipelineEntry::sendLevel not bound -!missing-selector! PHASESpatialPipelineEntry::sendLevelMetaParameterDefinition not bound -!missing-selector! PHASESpatialPipelineEntry::setSendLevel: not bound -!missing-selector! PHASESpatialPipelineEntry::setSendLevelMetaParameterDefinition: not bound -!missing-selector! PHASEStringMetaParameterDefinition::initWithValue: not bound -!missing-selector! PHASEStringMetaParameterDefinition::initWithValue:identifier: not bound -!missing-selector! PHASESwitchNodeDefinition::addSubtree:switchValue: not bound -!missing-selector! PHASESwitchNodeDefinition::initWithSwitchMetaParameterDefinition: not bound -!missing-selector! PHASESwitchNodeDefinition::initWithSwitchMetaParameterDefinition:identifier: not bound -!missing-selector! PHASESwitchNodeDefinition::switchMetaParameterDefinition not bound -!missing-type! PHASEAmbientMixerDefinition not bound -!missing-type! PHASEAsset not bound -!missing-type! PHASEAssetRegistry not bound -!missing-type! PHASEBlendNodeDefinition not bound -!missing-type! PHASECardioidDirectivityModelParameters not bound -!missing-type! PHASECardioidDirectivityModelSubbandParameters not bound -!missing-type! PHASEChannelMixerDefinition not bound -!missing-type! PHASEConeDirectivityModelParameters not bound -!missing-type! PHASEConeDirectivityModelSubbandParameters not bound -!missing-type! PHASEContainerNodeDefinition not bound -!missing-type! PHASEDefinition not bound -!missing-type! PHASEDirectivityModelParameters not bound -!missing-type! PHASEDistanceModelFadeOutParameters not bound -!missing-type! PHASEDistanceModelParameters not bound -!missing-type! PHASEDucker not bound -!missing-type! PHASEEngine not bound -!missing-type! PHASEEnvelope not bound -!missing-type! PHASEEnvelopeDistanceModelParameters not bound -!missing-type! PHASEEnvelopeSegment not bound -!missing-type! PHASEGeneratorNodeDefinition not bound -!missing-type! PHASEGeneratorParameters not bound -!missing-type! PHASEGeometricSpreadingDistanceModelParameters not bound -!missing-type! PHASEGlobalMetaParameterAsset not bound -!missing-type! PHASEGroup not bound -!missing-type! PHASEGroupPreset not bound -!missing-type! PHASEGroupPresetSetting not bound -!missing-type! PHASEListener not bound -!missing-type! PHASEMappedMetaParameterDefinition not bound -!missing-type! PHASEMaterial not bound -!missing-type! PHASEMedium not bound -!missing-type! PHASEMetaParameter not bound -!missing-type! PHASEMetaParameterDefinition not bound -!missing-type! PHASEMixer not bound -!missing-type! PHASEMixerDefinition not bound -!missing-type! PHASEMixerParameters not bound -!missing-type! PHASENumberMetaParameter not bound -!missing-type! PHASENumberMetaParameterDefinition not bound -!missing-type! PHASENumericPair not bound -!missing-type! PHASEObject not bound -!missing-type! PHASEOccluder not bound -!missing-type! PHASEPushStreamNode not bound -!missing-type! PHASEPushStreamNodeDefinition not bound -!missing-type! PHASERandomNodeDefinition not bound -!missing-type! PHASESamplerNodeDefinition not bound -!missing-type! PHASEShape not bound -!missing-type! PHASEShapeElement not bound -!missing-type! PHASESoundAsset not bound -!missing-type! PHASESoundEvent not bound -!missing-type! PHASESoundEventNodeAsset not bound -!missing-type! PHASESoundEventNodeDefinition not bound -!missing-type! PHASESource not bound -!missing-type! PHASESpatialMixerDefinition not bound -!missing-type! PHASESpatialPipeline not bound -!missing-type! PHASESpatialPipelineEntry not bound -!missing-type! PHASEStringMetaParameter not bound -!missing-type! PHASEStringMetaParameterDefinition not bound -!missing-type! PHASESwitchNodeDefinition not bound -!unknown-simd-type-mapping! The Simd type simd_double2 does not have a mapping to a managed type. Please add one in SimdCheck.cs diff --git a/tests/xtro-sharpie/SimdCheck.cs b/tests/xtro-sharpie/SimdCheck.cs index 7562bde46901..66dd5bf71575 100644 --- a/tests/xtro-sharpie/SimdCheck.cs +++ b/tests/xtro-sharpie/SimdCheck.cs @@ -43,6 +43,8 @@ class NativeSimdInfo { "vector_uint2", new NativeSimdInfo { Managed = "Vector2i", }}, { "vector_uint3", new NativeSimdInfo { Managed = "Vector3i", }}, { "vector_uint4", new NativeSimdInfo { Managed = "Vector4i", }}, + // simd_doubleX is typedefed to vector_doubleX + { "simd_double2", new NativeSimdInfo { Managed = "Vector2d" }}, // simd_floatX is typedefed to vector_floatX { "simd_float2", new NativeSimdInfo { Managed = "Vector2" }}, { "simd_float3", new NativeSimdInfo { Managed = "Vector3" }}, @@ -407,4 +409,4 @@ public override void VisitObjCMethodDecl (ObjCMethodDecl decl, VisitKind visitKi Log.On (framework).Add ($"!unknown-simd-type-in-signature! {method}: the native signature has a simd type ({simd_type}), while the corresponding managed method is using an incorrect (non-simd) type."); } } -} \ No newline at end of file +} diff --git a/tests/xtro-sharpie/common-MLCompute.ignore b/tests/xtro-sharpie/common-MLCompute.ignore index 7df4637f9fca..e941fd34d450 100644 --- a/tests/xtro-sharpie/common-MLCompute.ignore +++ b/tests/xtro-sharpie/common-MLCompute.ignore @@ -2,9 +2,9 @@ !missing-enum-value! MLCActivationType native value MLCActivationTypeCount = 21 not bound !missing-enum-value! MLCArithmeticOperation native value MLCArithmeticOperationCount = 30 not bound !missing-enum-value! MLCComparisonOperation native value MLCComparisonOperationCount = 12 not bound -## missing-enum-value! MLCDataType native value MLCDataTypeCount = 8 not bound -## missing-enum-value! MLCDeviceType native value MLCDeviceTypeCount = 3 not bound !missing-enum-value! MLCLossType native value MLCLossTypeCount = 9 not bound !missing-enum-value! MLCPoolingType native value MLCPoolingTypeCount = 4 not bound !missing-enum-value! MLCRandomInitializerType native value MLCRandomInitializerTypeCount = 4 not bound !missing-enum-value! MLCReductionType native value MLCReductionTypeCount = 10 not bound +!missing-enum-value! MLCDeviceType native value MLCDeviceTypeCount = 4 not bound +!missing-enum-value! MLCDataType native value MLCDataTypeCount = 10 not bound diff --git a/tests/xtro-sharpie/common-PHASE.ignore b/tests/xtro-sharpie/common-PHASE.ignore new file mode 100644 index 000000000000..d86807b41ae7 --- /dev/null +++ b/tests/xtro-sharpie/common-PHASE.ignore @@ -0,0 +1,6 @@ +# Added and deprecated in the same version +!missing-type! PHASEGeneratorParameters not bound +!missing-selector! PHASEGeneratorParameters::gain not bound +!missing-selector! PHASEGeneratorParameters::rate not bound +!missing-selector! PHASEGeneratorParameters::setGain: not bound +!missing-selector! PHASEGeneratorParameters::setRate: not bound diff --git a/tests/xtro-sharpie/iOS-MLCompute.todo b/tests/xtro-sharpie/iOS-MLCompute.todo deleted file mode 100644 index 05f7c59e8fc7..000000000000 --- a/tests/xtro-sharpie/iOS-MLCompute.todo +++ /dev/null @@ -1,37 +0,0 @@ -!missing-enum! MLCGradientClippingType not bound -!missing-enum-value! MLCDataType native value MLCDataTypeCount = 10 not bound -!missing-enum-value! MLCDataType native value MLCDataTypeFloat16 = 3 not bound -!missing-enum-value! MLCDataType native value MLCDataTypeInt8 = 8 not bound -!missing-enum-value! MLCDataType native value MLCDataTypeUInt8 = 9 not bound -!missing-enum-value! MLCDeviceType native value MLCDeviceTypeANE = 3 not bound -!missing-enum-value! MLCDeviceType native value MLCDeviceTypeCount = 4 not bound -!missing-enum-value! MLCExecutionOptions native value MLCExecutionOptionsPerLayerProfiling = 16 not bound -!missing-pinvoke! MLCGradientClippingTypeDebugDescription is not bound -!missing-selector! +MLCAdamOptimizer::optimizerWithDescriptor:beta1:beta2:epsilon:usesAMSGrad:timeStep: not bound -!missing-selector! +MLCAdamWOptimizer::optimizerWithDescriptor: not bound -!missing-selector! +MLCAdamWOptimizer::optimizerWithDescriptor:beta1:beta2:epsilon:usesAMSGrad:timeStep: not bound -!missing-selector! +MLCDevice::aneDevice not bound -!missing-selector! +MLCOptimizerDescriptor::descriptorWithLearningRate:gradientRescale:appliesGradientClipping:gradientClippingType:gradientClipMax:gradientClipMin:maximumClippingNorm:customGlobalNorm:regularizationType:regularizationScale: not bound -!missing-selector! +MLCPlatform::getRNGseed not bound -!missing-selector! +MLCPlatform::setRNGSeedTo: not bound -!missing-selector! +MLCTensor::tensorWithShape:randomInitializerType:dataType: not bound -!missing-selector! MLCAdamOptimizer::usesAMSGrad not bound -!missing-selector! MLCAdamWOptimizer::beta1 not bound -!missing-selector! MLCAdamWOptimizer::beta2 not bound -!missing-selector! MLCAdamWOptimizer::epsilon not bound -!missing-selector! MLCAdamWOptimizer::timeStep not bound -!missing-selector! MLCAdamWOptimizer::usesAMSGrad not bound -!missing-selector! MLCDevice::actualDeviceType not bound -!missing-selector! MLCLayer::deviceType not bound -!missing-selector! MLCOptimizer::customGlobalNorm not bound -!missing-selector! MLCOptimizer::gradientClippingType not bound -!missing-selector! MLCOptimizer::maximumClippingNorm not bound -!missing-selector! MLCOptimizerDescriptor::customGlobalNorm not bound -!missing-selector! MLCOptimizerDescriptor::gradientClippingType not bound -!missing-selector! MLCOptimizerDescriptor::maximumClippingNorm not bound -!missing-selector! MLCTensor::tensorByDequantizingToType:scale:bias: not bound -!missing-selector! MLCTensor::tensorByDequantizingToType:scale:bias:axis: not bound -!missing-selector! MLCTensor::tensorByQuantizingToType:scale:bias: not bound -!missing-selector! MLCTensor::tensorByQuantizingToType:scale:bias:axis: not bound -!missing-type! MLCAdamWOptimizer not bound -!missing-type! MLCPlatform not bound diff --git a/tests/xtro-sharpie/iOS-ModelIO.todo b/tests/xtro-sharpie/iOS-ModelIO.todo deleted file mode 100644 index cb78a8d13ffd..000000000000 --- a/tests/xtro-sharpie/iOS-ModelIO.todo +++ /dev/null @@ -1,7 +0,0 @@ -!deprecated-attribute-missing! MDLAsset::masters missing a [Deprecated] attribute -!deprecated-attribute-missing! MDLAsset::setMasters: missing a [Deprecated] attribute -!missing-enum-value! MDLMaterialPropertyType native value MDLMaterialPropertyTypeBuffer = 10 not bound -!missing-enum-value! MDLMeshBufferType native value MDLMeshBufferTypeCustom = 3 not bound -!missing-field! kUTTypeUniversalSceneDescriptionMobile not bound -!missing-selector! MDLAsset::originals not bound -!missing-selector! MDLAsset::setOriginals: not bound diff --git a/tests/xtro-sharpie/iOS-PHASE.todo b/tests/xtro-sharpie/iOS-PHASE.todo deleted file mode 100644 index e177c5643f7f..000000000000 --- a/tests/xtro-sharpie/iOS-PHASE.todo +++ /dev/null @@ -1,359 +0,0 @@ -!missing-enum! PHASEAssetError not bound -!missing-enum! PHASEAssetType not bound -!missing-enum! PHASECalibrationMode not bound -!missing-enum! PHASECullOption not bound -!missing-enum! PHASECurveType not bound -!missing-enum! PHASEError not bound -!missing-enum! PHASEMaterialPreset not bound -!missing-enum! PHASEMediumPreset not bound -!missing-enum! PHASENormalizationMode not bound -!missing-enum! PHASEPlaybackMode not bound -!missing-enum! PHASEPushStreamBufferOptions not bound -!missing-enum! PHASEPushStreamCompletionCallbackCondition not bound -!missing-enum! PHASERenderingState not bound -!missing-enum! PHASEReverbPreset not bound -!missing-enum! PHASESoundEventError not bound -!missing-enum! PHASESoundEventPrepareHandlerReason not bound -!missing-enum! PHASESoundEventPrepareState not bound -!missing-enum! PHASESoundEventSeekHandlerReason not bound -!missing-enum! PHASESoundEventStartHandlerReason not bound -!missing-enum! PHASESpatialPipelineFlags not bound -!missing-enum! PHASESpatializationMode not bound -!missing-enum! PHASEUpdateMode not bound -!missing-field! PHASEAssetErrorDomain not bound -!missing-field! PHASEErrorDomain not bound -!missing-field! PHASESoundEventErrorDomain not bound -!missing-field! PHASESpatialCategoryDirectPathTransmission not bound -!missing-field! PHASESpatialCategoryEarlyReflections not bound -!missing-field! PHASESpatialCategoryLateReverb not bound -!missing-selector! +PHASEObject::forward not bound -!missing-selector! +PHASEObject::right not bound -!missing-selector! +PHASEObject::up not bound -!missing-selector! PHASEAmbientMixerDefinition::initWithChannelLayout:orientation: not bound -!missing-selector! PHASEAmbientMixerDefinition::initWithChannelLayout:orientation:identifier: not bound -!missing-selector! PHASEAmbientMixerDefinition::inputChannelLayout not bound -!missing-selector! PHASEAmbientMixerDefinition::orientation not bound -!missing-selector! PHASEAsset::identifier not bound -!missing-selector! PHASEAssetRegistry::assetForIdentifier: not bound -!missing-selector! PHASEAssetRegistry::globalMetaParameters not bound -!missing-selector! PHASEAssetRegistry::registerGlobalMetaParameter:error: not bound -!missing-selector! PHASEAssetRegistry::registerSoundAssetAtURL:identifier:assetType:channelLayout:normalizationMode:error: not bound -!missing-selector! PHASEAssetRegistry::registerSoundAssetWithData:identifier:format:normalizationMode:error: not bound -!missing-selector! PHASEAssetRegistry::registerSoundEventAssetWithRootNode:identifier:error: not bound -!missing-selector! PHASEAssetRegistry::unregisterAssetWithIdentifier:completion: not bound -!missing-selector! PHASEBlendNodeDefinition::addRangeForInputValuesAbove:fullGainAtValue:fadeCurveType:subtree: not bound -!missing-selector! PHASEBlendNodeDefinition::addRangeForInputValuesBelow:fullGainAtValue:fadeCurveType:subtree: not bound -!missing-selector! PHASEBlendNodeDefinition::addRangeForInputValuesBetween:highValue:fullGainAtLowValue:fullGainAtHighValue:lowFadeCurveType:highFadeCurveType:subtree: not bound -!missing-selector! PHASEBlendNodeDefinition::addRangeWithEnvelope:subtree: not bound -!missing-selector! PHASEBlendNodeDefinition::blendParameterDefinition not bound -!missing-selector! PHASEBlendNodeDefinition::initDistanceBlendWithSpatialMixerDefinition: not bound -!missing-selector! PHASEBlendNodeDefinition::initDistanceBlendWithSpatialMixerDefinition:identifier: not bound -!missing-selector! PHASEBlendNodeDefinition::initWithBlendMetaParameterDefinition: not bound -!missing-selector! PHASEBlendNodeDefinition::initWithBlendMetaParameterDefinition:identifier: not bound -!missing-selector! PHASEBlendNodeDefinition::spatialMixerDefinitionForDistance not bound -!missing-selector! PHASECardioidDirectivityModelParameters::initWithSubbandParameters: not bound -!missing-selector! PHASECardioidDirectivityModelParameters::subbandParameters not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::frequency not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::init not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::pattern not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::setFrequency: not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::setPattern: not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::setSharpness: not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::sharpness not bound -!missing-selector! PHASEChannelMixerDefinition::initWithChannelLayout: not bound -!missing-selector! PHASEChannelMixerDefinition::initWithChannelLayout:identifier: not bound -!missing-selector! PHASEChannelMixerDefinition::inputChannelLayout not bound -!missing-selector! PHASEConeDirectivityModelParameters::initWithSubbandParameters: not bound -!missing-selector! PHASEConeDirectivityModelParameters::subbandParameters not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::frequency not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::init not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::innerAngle not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::outerAngle not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::outerGain not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::setFrequency: not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::setInnerAngle:outerAngle: not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::setOuterGain: not bound -!missing-selector! PHASEContainerNodeDefinition::addSubtree: not bound -!missing-selector! PHASEContainerNodeDefinition::init not bound -!missing-selector! PHASEContainerNodeDefinition::initWithIdentifier: not bound -!missing-selector! PHASEDefinition::identifier not bound -!missing-selector! PHASEDistanceModelFadeOutParameters::cullDistance not bound -!missing-selector! PHASEDistanceModelFadeOutParameters::initWithCullDistance: not bound -!missing-selector! PHASEDistanceModelParameters::fadeOutParameters not bound -!missing-selector! PHASEDistanceModelParameters::setFadeOutParameters: not bound -!missing-selector! PHASEDucker::activate not bound -!missing-selector! PHASEDucker::attackCurve not bound -!missing-selector! PHASEDucker::attackTime not bound -!missing-selector! PHASEDucker::deactivate not bound -!missing-selector! PHASEDucker::gain not bound -!missing-selector! PHASEDucker::identifier not bound -!missing-selector! PHASEDucker::initWithEngine:sourceGroups:targetGroups:gain:attackTime:releaseTime:attackCurve:releaseCurve: not bound -!missing-selector! PHASEDucker::isActive not bound -!missing-selector! PHASEDucker::releaseCurve not bound -!missing-selector! PHASEDucker::releaseTime not bound -!missing-selector! PHASEDucker::sourceGroups not bound -!missing-selector! PHASEDucker::targetGroups not bound -!missing-selector! PHASEEngine::activeGroupPreset not bound -!missing-selector! PHASEEngine::assetRegistry not bound -!missing-selector! PHASEEngine::defaultMedium not bound -!missing-selector! PHASEEngine::defaultReverbPreset not bound -!missing-selector! PHASEEngine::duckers not bound -!missing-selector! PHASEEngine::groups not bound -!missing-selector! PHASEEngine::initWithUpdateMode: not bound -!missing-selector! PHASEEngine::outputSpatializationMode not bound -!missing-selector! PHASEEngine::pause not bound -!missing-selector! PHASEEngine::renderingState not bound -!missing-selector! PHASEEngine::rootObject not bound -!missing-selector! PHASEEngine::setDefaultMedium: not bound -!missing-selector! PHASEEngine::setDefaultReverbPreset: not bound -!missing-selector! PHASEEngine::setOutputSpatializationMode: not bound -!missing-selector! PHASEEngine::setUnitsPerMeter: not bound -!missing-selector! PHASEEngine::setUnitsPerSecond: not bound -!missing-selector! PHASEEngine::soundEvents not bound -!missing-selector! PHASEEngine::startAndReturnError: not bound -!missing-selector! PHASEEngine::stop not bound -!missing-selector! PHASEEngine::unitsPerMeter not bound -!missing-selector! PHASEEngine::unitsPerSecond not bound -!missing-selector! PHASEEngine::update not bound -!missing-selector! PHASEEnvelope::domain not bound -!missing-selector! PHASEEnvelope::evaluateForValue: not bound -!missing-selector! PHASEEnvelope::initWithStartPoint:segments: not bound -!missing-selector! PHASEEnvelope::range not bound -!missing-selector! PHASEEnvelope::segments not bound -!missing-selector! PHASEEnvelope::startPoint not bound -!missing-selector! PHASEEnvelopeDistanceModelParameters::envelope not bound -!missing-selector! PHASEEnvelopeDistanceModelParameters::initWithEnvelope: not bound -!missing-selector! PHASEEnvelopeSegment::curveType not bound -!missing-selector! PHASEEnvelopeSegment::endPoint not bound -!missing-selector! PHASEEnvelopeSegment::initWithEndPoint:curveType: not bound -!missing-selector! PHASEEnvelopeSegment::setCurveType: not bound -!missing-selector! PHASEEnvelopeSegment::setEndPoint: not bound -!missing-selector! PHASEGeneratorNodeDefinition::calibrationMode not bound -!missing-selector! PHASEGeneratorNodeDefinition::gainMetaParameterDefinition not bound -!missing-selector! PHASEGeneratorNodeDefinition::group not bound -!missing-selector! PHASEGeneratorNodeDefinition::level not bound -!missing-selector! PHASEGeneratorNodeDefinition::mixerDefinition not bound -!missing-selector! PHASEGeneratorNodeDefinition::rate not bound -!missing-selector! PHASEGeneratorNodeDefinition::rateMetaParameterDefinition not bound -!missing-selector! PHASEGeneratorNodeDefinition::setCalibrationMode:level: not bound -!missing-selector! PHASEGeneratorNodeDefinition::setGainMetaParameterDefinition: not bound -!missing-selector! PHASEGeneratorNodeDefinition::setGroup: not bound -!missing-selector! PHASEGeneratorNodeDefinition::setRate: not bound -!missing-selector! PHASEGeneratorNodeDefinition::setRateMetaParameterDefinition: not bound -!missing-selector! PHASEGeneratorParameters::gain not bound -!missing-selector! PHASEGeneratorParameters::rate not bound -!missing-selector! PHASEGeneratorParameters::setGain: not bound -!missing-selector! PHASEGeneratorParameters::setRate: not bound -!missing-selector! PHASEGeometricSpreadingDistanceModelParameters::init not bound -!missing-selector! PHASEGeometricSpreadingDistanceModelParameters::rolloffFactor not bound -!missing-selector! PHASEGeometricSpreadingDistanceModelParameters::setRolloffFactor: not bound -!missing-selector! PHASEGroup::fadeGain:duration:curveType: not bound -!missing-selector! PHASEGroup::fadeRate:duration:curveType: not bound -!missing-selector! PHASEGroup::gain not bound -!missing-selector! PHASEGroup::identifier not bound -!missing-selector! PHASEGroup::initWithIdentifier: not bound -!missing-selector! PHASEGroup::isMuted not bound -!missing-selector! PHASEGroup::isSoloed not bound -!missing-selector! PHASEGroup::mute not bound -!missing-selector! PHASEGroup::rate not bound -!missing-selector! PHASEGroup::registerWithEngine: not bound -!missing-selector! PHASEGroup::setGain: not bound -!missing-selector! PHASEGroup::setRate: not bound -!missing-selector! PHASEGroup::solo not bound -!missing-selector! PHASEGroup::unmute not bound -!missing-selector! PHASEGroup::unregisterFromEngine not bound -!missing-selector! PHASEGroup::unsolo not bound -!missing-selector! PHASEGroupPreset::activate not bound -!missing-selector! PHASEGroupPreset::activateWithTimeToTargetOverride: not bound -!missing-selector! PHASEGroupPreset::deactivate not bound -!missing-selector! PHASEGroupPreset::deactivateWithTimeToResetOverride: not bound -!missing-selector! PHASEGroupPreset::initWithEngine:settings:timeToTarget:timeToReset: not bound -!missing-selector! PHASEGroupPreset::settings not bound -!missing-selector! PHASEGroupPreset::timeToReset not bound -!missing-selector! PHASEGroupPreset::timeToTarget not bound -!missing-selector! PHASEGroupPresetSetting::gain not bound -!missing-selector! PHASEGroupPresetSetting::gainCurveType not bound -!missing-selector! PHASEGroupPresetSetting::initWithGain:rate:gainCurveType:rateCurveType: not bound -!missing-selector! PHASEGroupPresetSetting::rate not bound -!missing-selector! PHASEGroupPresetSetting::rateCurveType not bound -!missing-selector! PHASEListener::gain not bound -!missing-selector! PHASEListener::initWithEngine: not bound -!missing-selector! PHASEListener::setGain: not bound -!missing-selector! PHASEMappedMetaParameterDefinition::envelope not bound -!missing-selector! PHASEMappedMetaParameterDefinition::initWithInputMetaParameterDefinition:envelope: not bound -!missing-selector! PHASEMappedMetaParameterDefinition::initWithInputMetaParameterDefinition:envelope:identifier: not bound -!missing-selector! PHASEMappedMetaParameterDefinition::inputMetaParameterDefinition not bound -!missing-selector! PHASEMaterial::initWithEngine:preset: not bound -!missing-selector! PHASEMedium::initWithEngine:preset: not bound -!missing-selector! PHASEMetaParameter::identifier not bound -!missing-selector! PHASEMetaParameter::setValue: not bound -!missing-selector! PHASEMetaParameter::value not bound -!missing-selector! PHASEMetaParameterDefinition::value not bound -!missing-selector! PHASEMixer::gain not bound -!missing-selector! PHASEMixer::gainMetaParameter not bound -!missing-selector! PHASEMixer::identifier not bound -!missing-selector! PHASEMixerDefinition::gain not bound -!missing-selector! PHASEMixerDefinition::gainMetaParameterDefinition not bound -!missing-selector! PHASEMixerDefinition::setGain: not bound -!missing-selector! PHASEMixerDefinition::setGainMetaParameterDefinition: not bound -!missing-selector! PHASEMixerParameters::addAmbientMixerParametersWithIdentifier:listener: not bound -!missing-selector! PHASEMixerParameters::addSpatialMixerParametersWithIdentifier:source:listener: not bound -!missing-selector! PHASENumberMetaParameter::fadeToValue:duration: not bound -!missing-selector! PHASENumberMetaParameter::maximum not bound -!missing-selector! PHASENumberMetaParameter::minimum not bound -!missing-selector! PHASENumberMetaParameterDefinition::initWithValue: not bound -!missing-selector! PHASENumberMetaParameterDefinition::initWithValue:identifier: not bound -!missing-selector! PHASENumberMetaParameterDefinition::initWithValue:minimum:maximum: not bound -!missing-selector! PHASENumberMetaParameterDefinition::initWithValue:minimum:maximum:identifier: not bound -!missing-selector! PHASENumberMetaParameterDefinition::maximum not bound -!missing-selector! PHASENumberMetaParameterDefinition::minimum not bound -!missing-selector! PHASENumericPair::first not bound -!missing-selector! PHASENumericPair::initWithFirstValue:secondValue: not bound -!missing-selector! PHASENumericPair::second not bound -!missing-selector! PHASENumericPair::setFirst: not bound -!missing-selector! PHASENumericPair::setSecond: not bound -!missing-selector! PHASEObject::addChild:error: not bound -!missing-selector! PHASEObject::children not bound -!missing-selector! PHASEObject::initWithEngine: not bound -!missing-selector! PHASEObject::parent not bound -!missing-selector! PHASEObject::removeChild: not bound -!missing-selector! PHASEObject::removeChildren not bound -!missing-selector! PHASEObject::setTransform: not bound -!missing-selector! PHASEObject::setWorldTransform: not bound -!missing-selector! PHASEObject::transform not bound -!missing-selector! PHASEObject::worldTransform not bound -!missing-selector! PHASEOccluder::initWithEngine:shapes: not bound -!missing-selector! PHASEOccluder::shapes not bound -!missing-selector! PHASEPushStreamNode::format not bound -!missing-selector! PHASEPushStreamNode::gainMetaParameter not bound -!missing-selector! PHASEPushStreamNode::mixer not bound -!missing-selector! PHASEPushStreamNode::rateMetaParameter not bound -!missing-selector! PHASEPushStreamNode::scheduleBuffer: not bound -!missing-selector! PHASEPushStreamNode::scheduleBuffer:atTime:options: not bound -!missing-selector! PHASEPushStreamNode::scheduleBuffer:atTime:options:completionCallbackType:completionHandler: not bound -!missing-selector! PHASEPushStreamNode::scheduleBuffer:completionCallbackType:completionHandler: not bound -!missing-selector! PHASEPushStreamNodeDefinition::format not bound -!missing-selector! PHASEPushStreamNodeDefinition::initWithMixerDefinition:format: not bound -!missing-selector! PHASEPushStreamNodeDefinition::initWithMixerDefinition:format:identifier: not bound -!missing-selector! PHASEPushStreamNodeDefinition::normalize not bound -!missing-selector! PHASEPushStreamNodeDefinition::setNormalize: not bound -!missing-selector! PHASERandomNodeDefinition::addSubtree:weight: not bound -!missing-selector! PHASERandomNodeDefinition::init not bound -!missing-selector! PHASERandomNodeDefinition::initWithIdentifier: not bound -!missing-selector! PHASERandomNodeDefinition::setUniqueSelectionQueueLength: not bound -!missing-selector! PHASERandomNodeDefinition::uniqueSelectionQueueLength not bound -!missing-selector! PHASESamplerNodeDefinition::assetIdentifier not bound -!missing-selector! PHASESamplerNodeDefinition::cullOption not bound -!missing-selector! PHASESamplerNodeDefinition::initWithSoundAssetIdentifier:mixerDefinition: not bound -!missing-selector! PHASESamplerNodeDefinition::initWithSoundAssetIdentifier:mixerDefinition:identifier: not bound -!missing-selector! PHASESamplerNodeDefinition::playbackMode not bound -!missing-selector! PHASESamplerNodeDefinition::setCullOption: not bound -!missing-selector! PHASESamplerNodeDefinition::setPlaybackMode: not bound -!missing-selector! PHASEShape::elements not bound -!missing-selector! PHASEShape::initWithEngine:mesh: not bound -!missing-selector! PHASEShape::initWithEngine:mesh:materials: not bound -!missing-selector! PHASEShapeElement::material not bound -!missing-selector! PHASEShapeElement::setMaterial: not bound -!missing-selector! PHASESoundAsset::data not bound -!missing-selector! PHASESoundAsset::type not bound -!missing-selector! PHASESoundAsset::url not bound -!missing-selector! PHASESoundEvent::initWithEngine:assetIdentifier:error: not bound -!missing-selector! PHASESoundEvent::initWithEngine:assetIdentifier:mixerParameters:error: not bound -!missing-selector! PHASESoundEvent::isIndefinite not bound -!missing-selector! PHASESoundEvent::metaParameters not bound -!missing-selector! PHASESoundEvent::mixers not bound -!missing-selector! PHASESoundEvent::pause not bound -!missing-selector! PHASESoundEvent::prepareState not bound -!missing-selector! PHASESoundEvent::prepareWithCompletion: not bound -!missing-selector! PHASESoundEvent::pushStreamNodes not bound -!missing-selector! PHASESoundEvent::renderingState not bound -!missing-selector! PHASESoundEvent::resume not bound -!missing-selector! PHASESoundEvent::seekToTime:completion: not bound -!missing-selector! PHASESoundEvent::startWithCompletion: not bound -!missing-selector! PHASESoundEvent::stopAndInvalidate not bound -!missing-selector! PHASESoundEventNodeDefinition::children not bound -!missing-selector! PHASESource::gain not bound -!missing-selector! PHASESource::initWithEngine: not bound -!missing-selector! PHASESource::initWithEngine:shapes: not bound -!missing-selector! PHASESource::setGain: not bound -!missing-selector! PHASESource::shapes not bound -!missing-selector! PHASESpatialMixerDefinition::distanceModelParameters not bound -!missing-selector! PHASESpatialMixerDefinition::initWithSpatialPipeline: not bound -!missing-selector! PHASESpatialMixerDefinition::initWithSpatialPipeline:identifier: not bound -!missing-selector! PHASESpatialMixerDefinition::listenerDirectivityModelParameters not bound -!missing-selector! PHASESpatialMixerDefinition::setDistanceModelParameters: not bound -!missing-selector! PHASESpatialMixerDefinition::setListenerDirectivityModelParameters: not bound -!missing-selector! PHASESpatialMixerDefinition::setSourceDirectivityModelParameters: not bound -!missing-selector! PHASESpatialMixerDefinition::sourceDirectivityModelParameters not bound -!missing-selector! PHASESpatialMixerDefinition::spatialPipeline not bound -!missing-selector! PHASESpatialPipeline::entries not bound -!missing-selector! PHASESpatialPipeline::flags not bound -!missing-selector! PHASESpatialPipeline::initWithFlags: not bound -!missing-selector! PHASESpatialPipelineEntry::sendLevel not bound -!missing-selector! PHASESpatialPipelineEntry::sendLevelMetaParameterDefinition not bound -!missing-selector! PHASESpatialPipelineEntry::setSendLevel: not bound -!missing-selector! PHASESpatialPipelineEntry::setSendLevelMetaParameterDefinition: not bound -!missing-selector! PHASEStringMetaParameterDefinition::initWithValue: not bound -!missing-selector! PHASEStringMetaParameterDefinition::initWithValue:identifier: not bound -!missing-selector! PHASESwitchNodeDefinition::addSubtree:switchValue: not bound -!missing-selector! PHASESwitchNodeDefinition::initWithSwitchMetaParameterDefinition: not bound -!missing-selector! PHASESwitchNodeDefinition::initWithSwitchMetaParameterDefinition:identifier: not bound -!missing-selector! PHASESwitchNodeDefinition::switchMetaParameterDefinition not bound -!missing-type! PHASEAmbientMixerDefinition not bound -!missing-type! PHASEAsset not bound -!missing-type! PHASEAssetRegistry not bound -!missing-type! PHASEBlendNodeDefinition not bound -!missing-type! PHASECardioidDirectivityModelParameters not bound -!missing-type! PHASECardioidDirectivityModelSubbandParameters not bound -!missing-type! PHASEChannelMixerDefinition not bound -!missing-type! PHASEConeDirectivityModelParameters not bound -!missing-type! PHASEConeDirectivityModelSubbandParameters not bound -!missing-type! PHASEContainerNodeDefinition not bound -!missing-type! PHASEDefinition not bound -!missing-type! PHASEDirectivityModelParameters not bound -!missing-type! PHASEDistanceModelFadeOutParameters not bound -!missing-type! PHASEDistanceModelParameters not bound -!missing-type! PHASEDucker not bound -!missing-type! PHASEEngine not bound -!missing-type! PHASEEnvelope not bound -!missing-type! PHASEEnvelopeDistanceModelParameters not bound -!missing-type! PHASEEnvelopeSegment not bound -!missing-type! PHASEGeneratorNodeDefinition not bound -!missing-type! PHASEGeneratorParameters not bound -!missing-type! PHASEGeometricSpreadingDistanceModelParameters not bound -!missing-type! PHASEGlobalMetaParameterAsset not bound -!missing-type! PHASEGroup not bound -!missing-type! PHASEGroupPreset not bound -!missing-type! PHASEGroupPresetSetting not bound -!missing-type! PHASEListener not bound -!missing-type! PHASEMappedMetaParameterDefinition not bound -!missing-type! PHASEMaterial not bound -!missing-type! PHASEMedium not bound -!missing-type! PHASEMetaParameter not bound -!missing-type! PHASEMetaParameterDefinition not bound -!missing-type! PHASEMixer not bound -!missing-type! PHASEMixerDefinition not bound -!missing-type! PHASEMixerParameters not bound -!missing-type! PHASENumberMetaParameter not bound -!missing-type! PHASENumberMetaParameterDefinition not bound -!missing-type! PHASENumericPair not bound -!missing-type! PHASEObject not bound -!missing-type! PHASEOccluder not bound -!missing-type! PHASEPushStreamNode not bound -!missing-type! PHASEPushStreamNodeDefinition not bound -!missing-type! PHASERandomNodeDefinition not bound -!missing-type! PHASESamplerNodeDefinition not bound -!missing-type! PHASEShape not bound -!missing-type! PHASEShapeElement not bound -!missing-type! PHASESoundAsset not bound -!missing-type! PHASESoundEvent not bound -!missing-type! PHASESoundEventNodeAsset not bound -!missing-type! PHASESoundEventNodeDefinition not bound -!missing-type! PHASESource not bound -!missing-type! PHASESpatialMixerDefinition not bound -!missing-type! PHASESpatialPipeline not bound -!missing-type! PHASESpatialPipelineEntry not bound -!missing-type! PHASEStringMetaParameter not bound -!missing-type! PHASEStringMetaParameterDefinition not bound -!missing-type! PHASESwitchNodeDefinition not bound -!unknown-simd-type-mapping! The Simd type simd_double2 does not have a mapping to a managed type. Please add one in SimdCheck.cs diff --git a/tests/xtro-sharpie/macOS-MLCompute.todo b/tests/xtro-sharpie/macOS-MLCompute.todo deleted file mode 100644 index 05f7c59e8fc7..000000000000 --- a/tests/xtro-sharpie/macOS-MLCompute.todo +++ /dev/null @@ -1,37 +0,0 @@ -!missing-enum! MLCGradientClippingType not bound -!missing-enum-value! MLCDataType native value MLCDataTypeCount = 10 not bound -!missing-enum-value! MLCDataType native value MLCDataTypeFloat16 = 3 not bound -!missing-enum-value! MLCDataType native value MLCDataTypeInt8 = 8 not bound -!missing-enum-value! MLCDataType native value MLCDataTypeUInt8 = 9 not bound -!missing-enum-value! MLCDeviceType native value MLCDeviceTypeANE = 3 not bound -!missing-enum-value! MLCDeviceType native value MLCDeviceTypeCount = 4 not bound -!missing-enum-value! MLCExecutionOptions native value MLCExecutionOptionsPerLayerProfiling = 16 not bound -!missing-pinvoke! MLCGradientClippingTypeDebugDescription is not bound -!missing-selector! +MLCAdamOptimizer::optimizerWithDescriptor:beta1:beta2:epsilon:usesAMSGrad:timeStep: not bound -!missing-selector! +MLCAdamWOptimizer::optimizerWithDescriptor: not bound -!missing-selector! +MLCAdamWOptimizer::optimizerWithDescriptor:beta1:beta2:epsilon:usesAMSGrad:timeStep: not bound -!missing-selector! +MLCDevice::aneDevice not bound -!missing-selector! +MLCOptimizerDescriptor::descriptorWithLearningRate:gradientRescale:appliesGradientClipping:gradientClippingType:gradientClipMax:gradientClipMin:maximumClippingNorm:customGlobalNorm:regularizationType:regularizationScale: not bound -!missing-selector! +MLCPlatform::getRNGseed not bound -!missing-selector! +MLCPlatform::setRNGSeedTo: not bound -!missing-selector! +MLCTensor::tensorWithShape:randomInitializerType:dataType: not bound -!missing-selector! MLCAdamOptimizer::usesAMSGrad not bound -!missing-selector! MLCAdamWOptimizer::beta1 not bound -!missing-selector! MLCAdamWOptimizer::beta2 not bound -!missing-selector! MLCAdamWOptimizer::epsilon not bound -!missing-selector! MLCAdamWOptimizer::timeStep not bound -!missing-selector! MLCAdamWOptimizer::usesAMSGrad not bound -!missing-selector! MLCDevice::actualDeviceType not bound -!missing-selector! MLCLayer::deviceType not bound -!missing-selector! MLCOptimizer::customGlobalNorm not bound -!missing-selector! MLCOptimizer::gradientClippingType not bound -!missing-selector! MLCOptimizer::maximumClippingNorm not bound -!missing-selector! MLCOptimizerDescriptor::customGlobalNorm not bound -!missing-selector! MLCOptimizerDescriptor::gradientClippingType not bound -!missing-selector! MLCOptimizerDescriptor::maximumClippingNorm not bound -!missing-selector! MLCTensor::tensorByDequantizingToType:scale:bias: not bound -!missing-selector! MLCTensor::tensorByDequantizingToType:scale:bias:axis: not bound -!missing-selector! MLCTensor::tensorByQuantizingToType:scale:bias: not bound -!missing-selector! MLCTensor::tensorByQuantizingToType:scale:bias:axis: not bound -!missing-type! MLCAdamWOptimizer not bound -!missing-type! MLCPlatform not bound diff --git a/tests/xtro-sharpie/macOS-ModelIO.todo b/tests/xtro-sharpie/macOS-ModelIO.todo deleted file mode 100644 index b35fadc18a8b..000000000000 --- a/tests/xtro-sharpie/macOS-ModelIO.todo +++ /dev/null @@ -1,5 +0,0 @@ -!missing-enum-value! MDLMaterialPropertyType native value MDLMaterialPropertyTypeBuffer = 10 not bound -!missing-enum-value! MDLMeshBufferType native value MDLMeshBufferTypeCustom = 3 not bound -!missing-field! kUTTypeUniversalSceneDescriptionMobile not bound -!missing-selector! MDLAsset::originals not bound -!missing-selector! MDLAsset::setOriginals: not bound diff --git a/tests/xtro-sharpie/macOS-PHASE.todo b/tests/xtro-sharpie/macOS-PHASE.todo deleted file mode 100644 index e177c5643f7f..000000000000 --- a/tests/xtro-sharpie/macOS-PHASE.todo +++ /dev/null @@ -1,359 +0,0 @@ -!missing-enum! PHASEAssetError not bound -!missing-enum! PHASEAssetType not bound -!missing-enum! PHASECalibrationMode not bound -!missing-enum! PHASECullOption not bound -!missing-enum! PHASECurveType not bound -!missing-enum! PHASEError not bound -!missing-enum! PHASEMaterialPreset not bound -!missing-enum! PHASEMediumPreset not bound -!missing-enum! PHASENormalizationMode not bound -!missing-enum! PHASEPlaybackMode not bound -!missing-enum! PHASEPushStreamBufferOptions not bound -!missing-enum! PHASEPushStreamCompletionCallbackCondition not bound -!missing-enum! PHASERenderingState not bound -!missing-enum! PHASEReverbPreset not bound -!missing-enum! PHASESoundEventError not bound -!missing-enum! PHASESoundEventPrepareHandlerReason not bound -!missing-enum! PHASESoundEventPrepareState not bound -!missing-enum! PHASESoundEventSeekHandlerReason not bound -!missing-enum! PHASESoundEventStartHandlerReason not bound -!missing-enum! PHASESpatialPipelineFlags not bound -!missing-enum! PHASESpatializationMode not bound -!missing-enum! PHASEUpdateMode not bound -!missing-field! PHASEAssetErrorDomain not bound -!missing-field! PHASEErrorDomain not bound -!missing-field! PHASESoundEventErrorDomain not bound -!missing-field! PHASESpatialCategoryDirectPathTransmission not bound -!missing-field! PHASESpatialCategoryEarlyReflections not bound -!missing-field! PHASESpatialCategoryLateReverb not bound -!missing-selector! +PHASEObject::forward not bound -!missing-selector! +PHASEObject::right not bound -!missing-selector! +PHASEObject::up not bound -!missing-selector! PHASEAmbientMixerDefinition::initWithChannelLayout:orientation: not bound -!missing-selector! PHASEAmbientMixerDefinition::initWithChannelLayout:orientation:identifier: not bound -!missing-selector! PHASEAmbientMixerDefinition::inputChannelLayout not bound -!missing-selector! PHASEAmbientMixerDefinition::orientation not bound -!missing-selector! PHASEAsset::identifier not bound -!missing-selector! PHASEAssetRegistry::assetForIdentifier: not bound -!missing-selector! PHASEAssetRegistry::globalMetaParameters not bound -!missing-selector! PHASEAssetRegistry::registerGlobalMetaParameter:error: not bound -!missing-selector! PHASEAssetRegistry::registerSoundAssetAtURL:identifier:assetType:channelLayout:normalizationMode:error: not bound -!missing-selector! PHASEAssetRegistry::registerSoundAssetWithData:identifier:format:normalizationMode:error: not bound -!missing-selector! PHASEAssetRegistry::registerSoundEventAssetWithRootNode:identifier:error: not bound -!missing-selector! PHASEAssetRegistry::unregisterAssetWithIdentifier:completion: not bound -!missing-selector! PHASEBlendNodeDefinition::addRangeForInputValuesAbove:fullGainAtValue:fadeCurveType:subtree: not bound -!missing-selector! PHASEBlendNodeDefinition::addRangeForInputValuesBelow:fullGainAtValue:fadeCurveType:subtree: not bound -!missing-selector! PHASEBlendNodeDefinition::addRangeForInputValuesBetween:highValue:fullGainAtLowValue:fullGainAtHighValue:lowFadeCurveType:highFadeCurveType:subtree: not bound -!missing-selector! PHASEBlendNodeDefinition::addRangeWithEnvelope:subtree: not bound -!missing-selector! PHASEBlendNodeDefinition::blendParameterDefinition not bound -!missing-selector! PHASEBlendNodeDefinition::initDistanceBlendWithSpatialMixerDefinition: not bound -!missing-selector! PHASEBlendNodeDefinition::initDistanceBlendWithSpatialMixerDefinition:identifier: not bound -!missing-selector! PHASEBlendNodeDefinition::initWithBlendMetaParameterDefinition: not bound -!missing-selector! PHASEBlendNodeDefinition::initWithBlendMetaParameterDefinition:identifier: not bound -!missing-selector! PHASEBlendNodeDefinition::spatialMixerDefinitionForDistance not bound -!missing-selector! PHASECardioidDirectivityModelParameters::initWithSubbandParameters: not bound -!missing-selector! PHASECardioidDirectivityModelParameters::subbandParameters not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::frequency not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::init not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::pattern not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::setFrequency: not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::setPattern: not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::setSharpness: not bound -!missing-selector! PHASECardioidDirectivityModelSubbandParameters::sharpness not bound -!missing-selector! PHASEChannelMixerDefinition::initWithChannelLayout: not bound -!missing-selector! PHASEChannelMixerDefinition::initWithChannelLayout:identifier: not bound -!missing-selector! PHASEChannelMixerDefinition::inputChannelLayout not bound -!missing-selector! PHASEConeDirectivityModelParameters::initWithSubbandParameters: not bound -!missing-selector! PHASEConeDirectivityModelParameters::subbandParameters not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::frequency not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::init not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::innerAngle not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::outerAngle not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::outerGain not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::setFrequency: not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::setInnerAngle:outerAngle: not bound -!missing-selector! PHASEConeDirectivityModelSubbandParameters::setOuterGain: not bound -!missing-selector! PHASEContainerNodeDefinition::addSubtree: not bound -!missing-selector! PHASEContainerNodeDefinition::init not bound -!missing-selector! PHASEContainerNodeDefinition::initWithIdentifier: not bound -!missing-selector! PHASEDefinition::identifier not bound -!missing-selector! PHASEDistanceModelFadeOutParameters::cullDistance not bound -!missing-selector! PHASEDistanceModelFadeOutParameters::initWithCullDistance: not bound -!missing-selector! PHASEDistanceModelParameters::fadeOutParameters not bound -!missing-selector! PHASEDistanceModelParameters::setFadeOutParameters: not bound -!missing-selector! PHASEDucker::activate not bound -!missing-selector! PHASEDucker::attackCurve not bound -!missing-selector! PHASEDucker::attackTime not bound -!missing-selector! PHASEDucker::deactivate not bound -!missing-selector! PHASEDucker::gain not bound -!missing-selector! PHASEDucker::identifier not bound -!missing-selector! PHASEDucker::initWithEngine:sourceGroups:targetGroups:gain:attackTime:releaseTime:attackCurve:releaseCurve: not bound -!missing-selector! PHASEDucker::isActive not bound -!missing-selector! PHASEDucker::releaseCurve not bound -!missing-selector! PHASEDucker::releaseTime not bound -!missing-selector! PHASEDucker::sourceGroups not bound -!missing-selector! PHASEDucker::targetGroups not bound -!missing-selector! PHASEEngine::activeGroupPreset not bound -!missing-selector! PHASEEngine::assetRegistry not bound -!missing-selector! PHASEEngine::defaultMedium not bound -!missing-selector! PHASEEngine::defaultReverbPreset not bound -!missing-selector! PHASEEngine::duckers not bound -!missing-selector! PHASEEngine::groups not bound -!missing-selector! PHASEEngine::initWithUpdateMode: not bound -!missing-selector! PHASEEngine::outputSpatializationMode not bound -!missing-selector! PHASEEngine::pause not bound -!missing-selector! PHASEEngine::renderingState not bound -!missing-selector! PHASEEngine::rootObject not bound -!missing-selector! PHASEEngine::setDefaultMedium: not bound -!missing-selector! PHASEEngine::setDefaultReverbPreset: not bound -!missing-selector! PHASEEngine::setOutputSpatializationMode: not bound -!missing-selector! PHASEEngine::setUnitsPerMeter: not bound -!missing-selector! PHASEEngine::setUnitsPerSecond: not bound -!missing-selector! PHASEEngine::soundEvents not bound -!missing-selector! PHASEEngine::startAndReturnError: not bound -!missing-selector! PHASEEngine::stop not bound -!missing-selector! PHASEEngine::unitsPerMeter not bound -!missing-selector! PHASEEngine::unitsPerSecond not bound -!missing-selector! PHASEEngine::update not bound -!missing-selector! PHASEEnvelope::domain not bound -!missing-selector! PHASEEnvelope::evaluateForValue: not bound -!missing-selector! PHASEEnvelope::initWithStartPoint:segments: not bound -!missing-selector! PHASEEnvelope::range not bound -!missing-selector! PHASEEnvelope::segments not bound -!missing-selector! PHASEEnvelope::startPoint not bound -!missing-selector! PHASEEnvelopeDistanceModelParameters::envelope not bound -!missing-selector! PHASEEnvelopeDistanceModelParameters::initWithEnvelope: not bound -!missing-selector! PHASEEnvelopeSegment::curveType not bound -!missing-selector! PHASEEnvelopeSegment::endPoint not bound -!missing-selector! PHASEEnvelopeSegment::initWithEndPoint:curveType: not bound -!missing-selector! PHASEEnvelopeSegment::setCurveType: not bound -!missing-selector! PHASEEnvelopeSegment::setEndPoint: not bound -!missing-selector! PHASEGeneratorNodeDefinition::calibrationMode not bound -!missing-selector! PHASEGeneratorNodeDefinition::gainMetaParameterDefinition not bound -!missing-selector! PHASEGeneratorNodeDefinition::group not bound -!missing-selector! PHASEGeneratorNodeDefinition::level not bound -!missing-selector! PHASEGeneratorNodeDefinition::mixerDefinition not bound -!missing-selector! PHASEGeneratorNodeDefinition::rate not bound -!missing-selector! PHASEGeneratorNodeDefinition::rateMetaParameterDefinition not bound -!missing-selector! PHASEGeneratorNodeDefinition::setCalibrationMode:level: not bound -!missing-selector! PHASEGeneratorNodeDefinition::setGainMetaParameterDefinition: not bound -!missing-selector! PHASEGeneratorNodeDefinition::setGroup: not bound -!missing-selector! PHASEGeneratorNodeDefinition::setRate: not bound -!missing-selector! PHASEGeneratorNodeDefinition::setRateMetaParameterDefinition: not bound -!missing-selector! PHASEGeneratorParameters::gain not bound -!missing-selector! PHASEGeneratorParameters::rate not bound -!missing-selector! PHASEGeneratorParameters::setGain: not bound -!missing-selector! PHASEGeneratorParameters::setRate: not bound -!missing-selector! PHASEGeometricSpreadingDistanceModelParameters::init not bound -!missing-selector! PHASEGeometricSpreadingDistanceModelParameters::rolloffFactor not bound -!missing-selector! PHASEGeometricSpreadingDistanceModelParameters::setRolloffFactor: not bound -!missing-selector! PHASEGroup::fadeGain:duration:curveType: not bound -!missing-selector! PHASEGroup::fadeRate:duration:curveType: not bound -!missing-selector! PHASEGroup::gain not bound -!missing-selector! PHASEGroup::identifier not bound -!missing-selector! PHASEGroup::initWithIdentifier: not bound -!missing-selector! PHASEGroup::isMuted not bound -!missing-selector! PHASEGroup::isSoloed not bound -!missing-selector! PHASEGroup::mute not bound -!missing-selector! PHASEGroup::rate not bound -!missing-selector! PHASEGroup::registerWithEngine: not bound -!missing-selector! PHASEGroup::setGain: not bound -!missing-selector! PHASEGroup::setRate: not bound -!missing-selector! PHASEGroup::solo not bound -!missing-selector! PHASEGroup::unmute not bound -!missing-selector! PHASEGroup::unregisterFromEngine not bound -!missing-selector! PHASEGroup::unsolo not bound -!missing-selector! PHASEGroupPreset::activate not bound -!missing-selector! PHASEGroupPreset::activateWithTimeToTargetOverride: not bound -!missing-selector! PHASEGroupPreset::deactivate not bound -!missing-selector! PHASEGroupPreset::deactivateWithTimeToResetOverride: not bound -!missing-selector! PHASEGroupPreset::initWithEngine:settings:timeToTarget:timeToReset: not bound -!missing-selector! PHASEGroupPreset::settings not bound -!missing-selector! PHASEGroupPreset::timeToReset not bound -!missing-selector! PHASEGroupPreset::timeToTarget not bound -!missing-selector! PHASEGroupPresetSetting::gain not bound -!missing-selector! PHASEGroupPresetSetting::gainCurveType not bound -!missing-selector! PHASEGroupPresetSetting::initWithGain:rate:gainCurveType:rateCurveType: not bound -!missing-selector! PHASEGroupPresetSetting::rate not bound -!missing-selector! PHASEGroupPresetSetting::rateCurveType not bound -!missing-selector! PHASEListener::gain not bound -!missing-selector! PHASEListener::initWithEngine: not bound -!missing-selector! PHASEListener::setGain: not bound -!missing-selector! PHASEMappedMetaParameterDefinition::envelope not bound -!missing-selector! PHASEMappedMetaParameterDefinition::initWithInputMetaParameterDefinition:envelope: not bound -!missing-selector! PHASEMappedMetaParameterDefinition::initWithInputMetaParameterDefinition:envelope:identifier: not bound -!missing-selector! PHASEMappedMetaParameterDefinition::inputMetaParameterDefinition not bound -!missing-selector! PHASEMaterial::initWithEngine:preset: not bound -!missing-selector! PHASEMedium::initWithEngine:preset: not bound -!missing-selector! PHASEMetaParameter::identifier not bound -!missing-selector! PHASEMetaParameter::setValue: not bound -!missing-selector! PHASEMetaParameter::value not bound -!missing-selector! PHASEMetaParameterDefinition::value not bound -!missing-selector! PHASEMixer::gain not bound -!missing-selector! PHASEMixer::gainMetaParameter not bound -!missing-selector! PHASEMixer::identifier not bound -!missing-selector! PHASEMixerDefinition::gain not bound -!missing-selector! PHASEMixerDefinition::gainMetaParameterDefinition not bound -!missing-selector! PHASEMixerDefinition::setGain: not bound -!missing-selector! PHASEMixerDefinition::setGainMetaParameterDefinition: not bound -!missing-selector! PHASEMixerParameters::addAmbientMixerParametersWithIdentifier:listener: not bound -!missing-selector! PHASEMixerParameters::addSpatialMixerParametersWithIdentifier:source:listener: not bound -!missing-selector! PHASENumberMetaParameter::fadeToValue:duration: not bound -!missing-selector! PHASENumberMetaParameter::maximum not bound -!missing-selector! PHASENumberMetaParameter::minimum not bound -!missing-selector! PHASENumberMetaParameterDefinition::initWithValue: not bound -!missing-selector! PHASENumberMetaParameterDefinition::initWithValue:identifier: not bound -!missing-selector! PHASENumberMetaParameterDefinition::initWithValue:minimum:maximum: not bound -!missing-selector! PHASENumberMetaParameterDefinition::initWithValue:minimum:maximum:identifier: not bound -!missing-selector! PHASENumberMetaParameterDefinition::maximum not bound -!missing-selector! PHASENumberMetaParameterDefinition::minimum not bound -!missing-selector! PHASENumericPair::first not bound -!missing-selector! PHASENumericPair::initWithFirstValue:secondValue: not bound -!missing-selector! PHASENumericPair::second not bound -!missing-selector! PHASENumericPair::setFirst: not bound -!missing-selector! PHASENumericPair::setSecond: not bound -!missing-selector! PHASEObject::addChild:error: not bound -!missing-selector! PHASEObject::children not bound -!missing-selector! PHASEObject::initWithEngine: not bound -!missing-selector! PHASEObject::parent not bound -!missing-selector! PHASEObject::removeChild: not bound -!missing-selector! PHASEObject::removeChildren not bound -!missing-selector! PHASEObject::setTransform: not bound -!missing-selector! PHASEObject::setWorldTransform: not bound -!missing-selector! PHASEObject::transform not bound -!missing-selector! PHASEObject::worldTransform not bound -!missing-selector! PHASEOccluder::initWithEngine:shapes: not bound -!missing-selector! PHASEOccluder::shapes not bound -!missing-selector! PHASEPushStreamNode::format not bound -!missing-selector! PHASEPushStreamNode::gainMetaParameter not bound -!missing-selector! PHASEPushStreamNode::mixer not bound -!missing-selector! PHASEPushStreamNode::rateMetaParameter not bound -!missing-selector! PHASEPushStreamNode::scheduleBuffer: not bound -!missing-selector! PHASEPushStreamNode::scheduleBuffer:atTime:options: not bound -!missing-selector! PHASEPushStreamNode::scheduleBuffer:atTime:options:completionCallbackType:completionHandler: not bound -!missing-selector! PHASEPushStreamNode::scheduleBuffer:completionCallbackType:completionHandler: not bound -!missing-selector! PHASEPushStreamNodeDefinition::format not bound -!missing-selector! PHASEPushStreamNodeDefinition::initWithMixerDefinition:format: not bound -!missing-selector! PHASEPushStreamNodeDefinition::initWithMixerDefinition:format:identifier: not bound -!missing-selector! PHASEPushStreamNodeDefinition::normalize not bound -!missing-selector! PHASEPushStreamNodeDefinition::setNormalize: not bound -!missing-selector! PHASERandomNodeDefinition::addSubtree:weight: not bound -!missing-selector! PHASERandomNodeDefinition::init not bound -!missing-selector! PHASERandomNodeDefinition::initWithIdentifier: not bound -!missing-selector! PHASERandomNodeDefinition::setUniqueSelectionQueueLength: not bound -!missing-selector! PHASERandomNodeDefinition::uniqueSelectionQueueLength not bound -!missing-selector! PHASESamplerNodeDefinition::assetIdentifier not bound -!missing-selector! PHASESamplerNodeDefinition::cullOption not bound -!missing-selector! PHASESamplerNodeDefinition::initWithSoundAssetIdentifier:mixerDefinition: not bound -!missing-selector! PHASESamplerNodeDefinition::initWithSoundAssetIdentifier:mixerDefinition:identifier: not bound -!missing-selector! PHASESamplerNodeDefinition::playbackMode not bound -!missing-selector! PHASESamplerNodeDefinition::setCullOption: not bound -!missing-selector! PHASESamplerNodeDefinition::setPlaybackMode: not bound -!missing-selector! PHASEShape::elements not bound -!missing-selector! PHASEShape::initWithEngine:mesh: not bound -!missing-selector! PHASEShape::initWithEngine:mesh:materials: not bound -!missing-selector! PHASEShapeElement::material not bound -!missing-selector! PHASEShapeElement::setMaterial: not bound -!missing-selector! PHASESoundAsset::data not bound -!missing-selector! PHASESoundAsset::type not bound -!missing-selector! PHASESoundAsset::url not bound -!missing-selector! PHASESoundEvent::initWithEngine:assetIdentifier:error: not bound -!missing-selector! PHASESoundEvent::initWithEngine:assetIdentifier:mixerParameters:error: not bound -!missing-selector! PHASESoundEvent::isIndefinite not bound -!missing-selector! PHASESoundEvent::metaParameters not bound -!missing-selector! PHASESoundEvent::mixers not bound -!missing-selector! PHASESoundEvent::pause not bound -!missing-selector! PHASESoundEvent::prepareState not bound -!missing-selector! PHASESoundEvent::prepareWithCompletion: not bound -!missing-selector! PHASESoundEvent::pushStreamNodes not bound -!missing-selector! PHASESoundEvent::renderingState not bound -!missing-selector! PHASESoundEvent::resume not bound -!missing-selector! PHASESoundEvent::seekToTime:completion: not bound -!missing-selector! PHASESoundEvent::startWithCompletion: not bound -!missing-selector! PHASESoundEvent::stopAndInvalidate not bound -!missing-selector! PHASESoundEventNodeDefinition::children not bound -!missing-selector! PHASESource::gain not bound -!missing-selector! PHASESource::initWithEngine: not bound -!missing-selector! PHASESource::initWithEngine:shapes: not bound -!missing-selector! PHASESource::setGain: not bound -!missing-selector! PHASESource::shapes not bound -!missing-selector! PHASESpatialMixerDefinition::distanceModelParameters not bound -!missing-selector! PHASESpatialMixerDefinition::initWithSpatialPipeline: not bound -!missing-selector! PHASESpatialMixerDefinition::initWithSpatialPipeline:identifier: not bound -!missing-selector! PHASESpatialMixerDefinition::listenerDirectivityModelParameters not bound -!missing-selector! PHASESpatialMixerDefinition::setDistanceModelParameters: not bound -!missing-selector! PHASESpatialMixerDefinition::setListenerDirectivityModelParameters: not bound -!missing-selector! PHASESpatialMixerDefinition::setSourceDirectivityModelParameters: not bound -!missing-selector! PHASESpatialMixerDefinition::sourceDirectivityModelParameters not bound -!missing-selector! PHASESpatialMixerDefinition::spatialPipeline not bound -!missing-selector! PHASESpatialPipeline::entries not bound -!missing-selector! PHASESpatialPipeline::flags not bound -!missing-selector! PHASESpatialPipeline::initWithFlags: not bound -!missing-selector! PHASESpatialPipelineEntry::sendLevel not bound -!missing-selector! PHASESpatialPipelineEntry::sendLevelMetaParameterDefinition not bound -!missing-selector! PHASESpatialPipelineEntry::setSendLevel: not bound -!missing-selector! PHASESpatialPipelineEntry::setSendLevelMetaParameterDefinition: not bound -!missing-selector! PHASEStringMetaParameterDefinition::initWithValue: not bound -!missing-selector! PHASEStringMetaParameterDefinition::initWithValue:identifier: not bound -!missing-selector! PHASESwitchNodeDefinition::addSubtree:switchValue: not bound -!missing-selector! PHASESwitchNodeDefinition::initWithSwitchMetaParameterDefinition: not bound -!missing-selector! PHASESwitchNodeDefinition::initWithSwitchMetaParameterDefinition:identifier: not bound -!missing-selector! PHASESwitchNodeDefinition::switchMetaParameterDefinition not bound -!missing-type! PHASEAmbientMixerDefinition not bound -!missing-type! PHASEAsset not bound -!missing-type! PHASEAssetRegistry not bound -!missing-type! PHASEBlendNodeDefinition not bound -!missing-type! PHASECardioidDirectivityModelParameters not bound -!missing-type! PHASECardioidDirectivityModelSubbandParameters not bound -!missing-type! PHASEChannelMixerDefinition not bound -!missing-type! PHASEConeDirectivityModelParameters not bound -!missing-type! PHASEConeDirectivityModelSubbandParameters not bound -!missing-type! PHASEContainerNodeDefinition not bound -!missing-type! PHASEDefinition not bound -!missing-type! PHASEDirectivityModelParameters not bound -!missing-type! PHASEDistanceModelFadeOutParameters not bound -!missing-type! PHASEDistanceModelParameters not bound -!missing-type! PHASEDucker not bound -!missing-type! PHASEEngine not bound -!missing-type! PHASEEnvelope not bound -!missing-type! PHASEEnvelopeDistanceModelParameters not bound -!missing-type! PHASEEnvelopeSegment not bound -!missing-type! PHASEGeneratorNodeDefinition not bound -!missing-type! PHASEGeneratorParameters not bound -!missing-type! PHASEGeometricSpreadingDistanceModelParameters not bound -!missing-type! PHASEGlobalMetaParameterAsset not bound -!missing-type! PHASEGroup not bound -!missing-type! PHASEGroupPreset not bound -!missing-type! PHASEGroupPresetSetting not bound -!missing-type! PHASEListener not bound -!missing-type! PHASEMappedMetaParameterDefinition not bound -!missing-type! PHASEMaterial not bound -!missing-type! PHASEMedium not bound -!missing-type! PHASEMetaParameter not bound -!missing-type! PHASEMetaParameterDefinition not bound -!missing-type! PHASEMixer not bound -!missing-type! PHASEMixerDefinition not bound -!missing-type! PHASEMixerParameters not bound -!missing-type! PHASENumberMetaParameter not bound -!missing-type! PHASENumberMetaParameterDefinition not bound -!missing-type! PHASENumericPair not bound -!missing-type! PHASEObject not bound -!missing-type! PHASEOccluder not bound -!missing-type! PHASEPushStreamNode not bound -!missing-type! PHASEPushStreamNodeDefinition not bound -!missing-type! PHASERandomNodeDefinition not bound -!missing-type! PHASESamplerNodeDefinition not bound -!missing-type! PHASEShape not bound -!missing-type! PHASEShapeElement not bound -!missing-type! PHASESoundAsset not bound -!missing-type! PHASESoundEvent not bound -!missing-type! PHASESoundEventNodeAsset not bound -!missing-type! PHASESoundEventNodeDefinition not bound -!missing-type! PHASESource not bound -!missing-type! PHASESpatialMixerDefinition not bound -!missing-type! PHASESpatialPipeline not bound -!missing-type! PHASESpatialPipelineEntry not bound -!missing-type! PHASEStringMetaParameter not bound -!missing-type! PHASEStringMetaParameterDefinition not bound -!missing-type! PHASESwitchNodeDefinition not bound -!unknown-simd-type-mapping! The Simd type simd_double2 does not have a mapping to a managed type. Please add one in SimdCheck.cs diff --git a/tests/xtro-sharpie/tvOS-MLCompute.todo b/tests/xtro-sharpie/tvOS-MLCompute.todo deleted file mode 100644 index 05f7c59e8fc7..000000000000 --- a/tests/xtro-sharpie/tvOS-MLCompute.todo +++ /dev/null @@ -1,37 +0,0 @@ -!missing-enum! MLCGradientClippingType not bound -!missing-enum-value! MLCDataType native value MLCDataTypeCount = 10 not bound -!missing-enum-value! MLCDataType native value MLCDataTypeFloat16 = 3 not bound -!missing-enum-value! MLCDataType native value MLCDataTypeInt8 = 8 not bound -!missing-enum-value! MLCDataType native value MLCDataTypeUInt8 = 9 not bound -!missing-enum-value! MLCDeviceType native value MLCDeviceTypeANE = 3 not bound -!missing-enum-value! MLCDeviceType native value MLCDeviceTypeCount = 4 not bound -!missing-enum-value! MLCExecutionOptions native value MLCExecutionOptionsPerLayerProfiling = 16 not bound -!missing-pinvoke! MLCGradientClippingTypeDebugDescription is not bound -!missing-selector! +MLCAdamOptimizer::optimizerWithDescriptor:beta1:beta2:epsilon:usesAMSGrad:timeStep: not bound -!missing-selector! +MLCAdamWOptimizer::optimizerWithDescriptor: not bound -!missing-selector! +MLCAdamWOptimizer::optimizerWithDescriptor:beta1:beta2:epsilon:usesAMSGrad:timeStep: not bound -!missing-selector! +MLCDevice::aneDevice not bound -!missing-selector! +MLCOptimizerDescriptor::descriptorWithLearningRate:gradientRescale:appliesGradientClipping:gradientClippingType:gradientClipMax:gradientClipMin:maximumClippingNorm:customGlobalNorm:regularizationType:regularizationScale: not bound -!missing-selector! +MLCPlatform::getRNGseed not bound -!missing-selector! +MLCPlatform::setRNGSeedTo: not bound -!missing-selector! +MLCTensor::tensorWithShape:randomInitializerType:dataType: not bound -!missing-selector! MLCAdamOptimizer::usesAMSGrad not bound -!missing-selector! MLCAdamWOptimizer::beta1 not bound -!missing-selector! MLCAdamWOptimizer::beta2 not bound -!missing-selector! MLCAdamWOptimizer::epsilon not bound -!missing-selector! MLCAdamWOptimizer::timeStep not bound -!missing-selector! MLCAdamWOptimizer::usesAMSGrad not bound -!missing-selector! MLCDevice::actualDeviceType not bound -!missing-selector! MLCLayer::deviceType not bound -!missing-selector! MLCOptimizer::customGlobalNorm not bound -!missing-selector! MLCOptimizer::gradientClippingType not bound -!missing-selector! MLCOptimizer::maximumClippingNorm not bound -!missing-selector! MLCOptimizerDescriptor::customGlobalNorm not bound -!missing-selector! MLCOptimizerDescriptor::gradientClippingType not bound -!missing-selector! MLCOptimizerDescriptor::maximumClippingNorm not bound -!missing-selector! MLCTensor::tensorByDequantizingToType:scale:bias: not bound -!missing-selector! MLCTensor::tensorByDequantizingToType:scale:bias:axis: not bound -!missing-selector! MLCTensor::tensorByQuantizingToType:scale:bias: not bound -!missing-selector! MLCTensor::tensorByQuantizingToType:scale:bias:axis: not bound -!missing-type! MLCAdamWOptimizer not bound -!missing-type! MLCPlatform not bound diff --git a/tests/xtro-sharpie/tvOS-ModelIO.todo b/tests/xtro-sharpie/tvOS-ModelIO.todo deleted file mode 100644 index cb78a8d13ffd..000000000000 --- a/tests/xtro-sharpie/tvOS-ModelIO.todo +++ /dev/null @@ -1,7 +0,0 @@ -!deprecated-attribute-missing! MDLAsset::masters missing a [Deprecated] attribute -!deprecated-attribute-missing! MDLAsset::setMasters: missing a [Deprecated] attribute -!missing-enum-value! MDLMaterialPropertyType native value MDLMaterialPropertyTypeBuffer = 10 not bound -!missing-enum-value! MDLMeshBufferType native value MDLMeshBufferTypeCustom = 3 not bound -!missing-field! kUTTypeUniversalSceneDescriptionMobile not bound -!missing-selector! MDLAsset::originals not bound -!missing-selector! MDLAsset::setOriginals: not bound diff --git a/tests/xtro-sharpie/tvOS-PHASE.todo b/tests/xtro-sharpie/tvOS-PHASE.ignore similarity index 82% rename from tests/xtro-sharpie/tvOS-PHASE.todo rename to tests/xtro-sharpie/tvOS-PHASE.ignore index 73107d4234fc..64c48b91f6f1 100644 --- a/tests/xtro-sharpie/tvOS-PHASE.todo +++ b/tests/xtro-sharpie/tvOS-PHASE.ignore @@ -1,3 +1,4 @@ +# On xcode13 beta 3 the framework is not present on tvOS and just exposes the enums which can be confusing. !missing-enum! PHASEAssetError not bound !missing-enum! PHASEAssetType not bound !missing-enum! PHASECalibrationMode not bound @@ -17,8 +18,8 @@ !missing-enum! PHASESoundEventPrepareState not bound !missing-enum! PHASESoundEventSeekHandlerReason not bound !missing-enum! PHASESoundEventStartHandlerReason not bound -!missing-enum! PHASESpatialPipelineFlags not bound !missing-enum! PHASESpatializationMode not bound +!missing-enum! PHASESpatialPipelineFlags not bound !missing-enum! PHASEUpdateMode not bound !missing-field! PHASEAssetErrorDomain not bound !missing-field! PHASEErrorDomain not bound @@ -26,8 +27,3 @@ !missing-field! PHASESpatialCategoryDirectPathTransmission not bound !missing-field! PHASESpatialCategoryEarlyReflections not bound !missing-field! PHASESpatialCategoryLateReverb not bound -!missing-selector! PHASEGeneratorParameters::gain not bound -!missing-selector! PHASEGeneratorParameters::rate not bound -!missing-selector! PHASEGeneratorParameters::setGain: not bound -!missing-selector! PHASEGeneratorParameters::setRate: not bound -!missing-type! PHASEGeneratorParameters not bound diff --git a/tools/common/Frameworks.cs b/tools/common/Frameworks.cs index 691a389ae3a6..f32ce6c37865 100644 --- a/tools/common/Frameworks.cs +++ b/tools/common/Frameworks.cs @@ -264,6 +264,7 @@ public static Frameworks MacFrameworks { { "Chip", "CHIP", 12, 0 }, { "ShazamKit", "ShazamKit", 12,0 }, { "MetricKit", 12, 0 }, + { "Phase", "PHASE", 12, 0 }, }; } return mac_frameworks; @@ -426,6 +427,7 @@ public static Frameworks CreateiOSFrameworks (bool is_simulator_build) { "Chip", "CHIP", new Version (15, 0), NotAvailableInSimulator /* no headers in beta 2 */ }, { "ShazamKit", "ShazamKit", 15,0 }, + { "Phase", "PHASE", new Version (15,0), NotAvailableInSimulator /* no headers in beta 2 */ }, // the above MUST be kept in sync with simlauncher // see tools/mtouch/Makefile @@ -496,8 +498,6 @@ public static Frameworks GetwatchOSFrameworks (bool is_simulator_build) { "Chip", "CHIP", new Version (8, 0), NotAvailableInSimulator /* no headers in beta 2 */ }, { "ShazamKit", "ShazamKit", 8,0 }, - - }; } return watch_frameworks; diff --git a/tools/common/StaticRegistrar.cs b/tools/common/StaticRegistrar.cs index 651eb294ca13..650f81673707 100644 --- a/tools/common/StaticRegistrar.cs +++ b/tools/common/StaticRegistrar.cs @@ -2165,6 +2165,9 @@ void CheckNamespace (string ns, List exceptions) case "QuickLookUI": h = ""; break; + case "Phase": + h = ""; + break; case "PdfKit": h = App.Platform == ApplePlatform.MacOSX ? "" : ""; break; diff --git a/tools/common/Target.cs b/tools/common/Target.cs index 855faef15b18..1aa334f94f9f 100644 --- a/tools/common/Target.cs +++ b/tools/common/Target.cs @@ -223,6 +223,7 @@ public void GatherFrameworks () case "MetalKit": case "MetalPerformanceShaders": case "CHIP": + case "PHASE": // some frameworks do not exists on simulators and will result in linker errors if we include them if (App.IsSimulatorBuild) continue;