AVAudioFile.ReadIntoBuffer 方法

定义

重载

ReadIntoBuffer(AVAudioPcmBuffer, NSError)
ReadIntoBuffer(AVAudioPcmBuffer, UInt32, NSError)

ReadIntoBuffer(AVAudioPcmBuffer, NSError)

[Foundation.Export("readIntoBuffer:error:")]
public virtual bool ReadIntoBuffer(AVFoundation.AVAudioPcmBuffer buffer, out Foundation.NSError outError);
abstract member ReadIntoBuffer : AVFoundation.AVAudioPcmBuffer *  -> bool
override this.ReadIntoBuffer : AVFoundation.AVAudioPcmBuffer *  -> bool

参数

outError
NSError

返回

属性

适用于

ReadIntoBuffer(AVAudioPcmBuffer, UInt32, NSError)

[Foundation.Export("readIntoBuffer:frameCount:error:")]
public virtual bool ReadIntoBuffer(AVFoundation.AVAudioPcmBuffer buffer, uint frames, out Foundation.NSError outError);
abstract member ReadIntoBuffer : AVFoundation.AVAudioPcmBuffer * uint32 *  -> bool
override this.ReadIntoBuffer : AVFoundation.AVAudioPcmBuffer * uint32 *  -> bool

参数

frames
UInt32
outError
NSError

返回

属性

适用于