共用方式為


CMSampleBuffer.CreateReady 方法

定義

public static CoreMedia.CMSampleBuffer CreateReady (CoreMedia.CMBlockBuffer dataBuffer, CoreMedia.CMFormatDescription formatDescription, int samplesCount, CoreMedia.CMSampleTimingInfo[] sampleTimingArray, nuint[] sampleSizeArray, out CoreMedia.CMSampleBufferError error);
static member CreateReady : CoreMedia.CMBlockBuffer * CoreMedia.CMFormatDescription * int * CoreMedia.CMSampleTimingInfo[] * nuint[] *  -> CoreMedia.CMSampleBuffer

參數

dataBuffer
CMBlockBuffer
formatDescription
CMFormatDescription
samplesCount
Int32
sampleTimingArray
CMSampleTimingInfo[]
sampleSizeArray

System.System.UIntPtr[]

System.unativeint[]

傳回

適用於