編輯

共用方式為


SFSpeechAudioBufferRecognitionRequest.Append Method

Definition

Overloads

Append(AVAudioPcmBuffer)

Appends the audioPcmBuffer to the request.

Append(CMSampleBuffer)

Appends the sampleBuffer to the request.

Append(AVAudioPcmBuffer)

Appends the audioPcmBuffer to the request.

[Foundation.Export("appendAudioPCMBuffer:")]
public virtual void Append (AVFoundation.AVAudioPcmBuffer audioPcmBuffer);
abstract member Append : AVFoundation.AVAudioPcmBuffer -> unit
override this.Append : AVFoundation.AVAudioPcmBuffer -> unit

Parameters

audioPcmBuffer
AVAudioPcmBuffer

The source audio buffer.

Attributes

Applies to

Append(CMSampleBuffer)

Appends the sampleBuffer to the request.

[Foundation.Export("appendAudioSampleBuffer:")]
public virtual void Append (CoreMedia.CMSampleBuffer sampleBuffer);
abstract member Append : CoreMedia.CMSampleBuffer -> unit
override this.Append : CoreMedia.CMSampleBuffer -> unit

Parameters

sampleBuffer
CMSampleBuffer

The source audio buffer.

Attributes

Applies to