AVAudioSession.SetPreferredIOBufferDuration(Double, NSError) Method
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.
Sets the preferred duration, in seconds, of the IO buffer.
[Foundation.Export("setPreferredIOBufferDuration:error:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool SetPreferredIOBufferDuration (double duration, out Foundation.NSError outError);
abstract member SetPreferredIOBufferDuration : double * -> bool
override this.SetPreferredIOBufferDuration : double * -> bool
Parameters
- duration
- Double
- outError
- NSError
On failure, this contains the error details.
Returns
true
if the request was successful, otherwise the outError parameter contains an instance of NSError describing the problem.
- Attributes