Editar

Compartir a través de


AVAudioSession.SetPreferredIOBufferDuration(Double, NSError) Method

Definition

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

Applies to