AudioStreamBasicDescription.AudioFormatFlagsAudioUnitCanonical 字段

定义

开发人员不应使用此已弃用的字段。 不再鼓励规范,因为固定点不再比浮点提供性能优势。 而是预装了“AudioFormatFlagsNativeFloatPacked”。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Canonical is no longer encouraged, since fixed-point no longer provides a performance advantage over floating point. 'AudioFormatFlagsNativeFloatPacked' is preffered instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Canonical is no longer encouraged, since fixed-point no longer provides a performance advantage over floating point. 'AudioFormatFlagsNativeFloatPacked' is preffered instead.")]
public static readonly AudioToolbox.AudioFormatFlags AudioFormatFlagsAudioUnitCanonical;
 staticval mutable AudioFormatFlagsAudioUnitCanonical : AudioToolbox.AudioFormatFlags

字段值

属性

适用于