Compartilhar via


ARSessionDelegate.DidOutputAudioSampleBuffer Método

Definição

Os desenvolvedores podem substituir esse método que é chamado logo após a reprodução de um buffer de áudio.

[Foundation.Export("session:didOutputAudioSampleBuffer:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidOutputAudioSampleBuffer (ARKit.ARSession session, CoreMedia.CMSampleBuffer audioSampleBuffer);
abstract member DidOutputAudioSampleBuffer : ARKit.ARSession * CoreMedia.CMSampleBuffer -> unit
override this.DidOutputAudioSampleBuffer : ARKit.ARSession * CoreMedia.CMSampleBuffer -> unit

Parâmetros

session
ARSession

A sessão que está fornecendo as informações para o evento.

audioSampleBuffer
CMSampleBuffer

O buffer de áudio que foi reproduzido.

Atributos

Aplica-se a