Edit

Share via


CMSampleBuffer.CreateReadyWithPacketDescriptions Method

Definition

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

Parameters

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

Returns

Applies to