次の方法で共有


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

適用対象