Partager via


CMSampleBuffer.CreateReadyWithPacketDescriptions Méthode

Définition

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

Paramètres

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

Retours

S’applique à