Bearbeiten

Freigeben über


CMSampleBuffer.CreateWithPacketDescriptions Method

Definition

public static CoreMedia.CMSampleBuffer CreateWithPacketDescriptions (CoreMedia.CMBlockBuffer dataBuffer, CoreMedia.CMFormatDescription formatDescription, int samplesCount, CoreMedia.CMTime sampleTimestamp, AudioToolbox.AudioStreamPacketDescription[] packetDescriptions, out CoreMedia.CMSampleBufferError error);
static member CreateWithPacketDescriptions : 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