共用方式為


AVAudioConverter.ConvertToBuffer 方法

定義

多載

ConvertToBuffer(AVAudioPcmBuffer, AVAudioPcmBuffer, NSError)
ConvertToBuffer(AVAudioBuffer, NSError, AVAudioConverterInputHandler)

ConvertToBuffer(AVAudioPcmBuffer, AVAudioPcmBuffer, NSError)

[Foundation.Export("convertToBuffer:fromBuffer:error:")]
public virtual bool ConvertToBuffer (AVFoundation.AVAudioPcmBuffer outputBuffer, AVFoundation.AVAudioPcmBuffer inputBuffer, out Foundation.NSError outError);
abstract member ConvertToBuffer : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioPcmBuffer *  -> bool
override this.ConvertToBuffer : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioPcmBuffer *  -> bool

參數

outputBuffer
AVAudioPcmBuffer
inputBuffer
AVAudioPcmBuffer
outError
NSError

即將加入。

這個參數可以是 null

傳回

屬性

適用於

ConvertToBuffer(AVAudioBuffer, NSError, AVAudioConverterInputHandler)

[Foundation.Export("convertToBuffer:error:withInputFromBlock:")]
public virtual AVFoundation.AVAudioConverterOutputStatus ConvertToBuffer (AVFoundation.AVAudioBuffer outputBuffer, out Foundation.NSError outError, AVFoundation.AVAudioConverterInputHandler inputHandler);
abstract member ConvertToBuffer : AVFoundation.AVAudioBuffer *  * AVFoundation.AVAudioConverterInputHandler -> AVFoundation.AVAudioConverterOutputStatus
override this.ConvertToBuffer : AVFoundation.AVAudioBuffer *  * AVFoundation.AVAudioConverterInputHandler -> AVFoundation.AVAudioConverterOutputStatus

參數

outputBuffer
AVAudioBuffer
outError
NSError

即將加入。

這個參數可以是 null

傳回

屬性

適用於