AudioSession.PreferredHardwareIOBufferDuration 属性

定义

应用程序所需的缓冲区大小(以秒为单位)。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "AudioSession[Get|Set]Property are deprecated in iOS7")]
public static float PreferredHardwareIOBufferDuration { get; set; }
member this.PreferredHardwareIOBufferDuration : single with get, set

属性值

属性

注解

无法保证获得请求的秒数,可以通过读取 CurrentHardwareIOBufferDuration 属性来确定实际秒数。

如果读取或设置 属性时出错,则会引发 AudioSessionException

适用于