AudioSession.PreferredHardwareIOBufferDuration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.