Szerkesztés

Megosztás a következőn keresztül:


AudioSession.PreferredHardwareIOBufferDuration Property

Definition

Your application desired buffer size in seconds.

[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

Property Value

Attributes

Remarks

There is no guarantee that you will get the number of requested seconds, you can determine the actual number of seconds by reading the CurrentHardwareIOBufferDuration property.

If there is an error reading or setting the property, this will raise an AudioSessionException.

Applies to