共用方式為


CMSampleBuffer.CreateReadyWithPacketDescriptions 方法

定義

public static CoreMedia.CMSampleBuffer CreateReadyWithPacketDescriptions (CoreMedia.CMBlockBuffer dataBuffer, CoreMedia.CMFormatDescription formatDescription, int samplesCount, CoreMedia.CMTime sampleTimestamp, AudioToolbox.AudioStreamPacketDescription[] packetDescriptions, out CoreMedia.CMSampleBufferError error);
static member CreateReadyWithPacketDescriptions : CoreMedia.CMBlockBuffer * CoreMedia.CMFormatDescription * int * CoreMedia.CMTime * AudioToolbox.AudioStreamPacketDescription[] *  -> CoreMedia.CMSampleBuffer

參數

dataBuffer
CMBlockBuffer
formatDescription
CMFormatDescription
samplesCount
Int32
sampleTimestamp
CMTime
packetDescriptions
AudioStreamPacketDescription[]

傳回

適用於